Update text positioning in cards

parent be03099e
Pipeline #6736 passed with stage
in 42 seconds
...@@ -109,9 +109,17 @@ ...@@ -109,9 +109,17 @@
.slider__item .card__heading, .slider__item .card__heading,
.slider__item .card__text { .slider__item .card__text {
width: 100%;
z-index: 3; z-index: 3;
} }
.slider__item .card__heading {
left: 50%;
position: absolute;
top: 60%;
transform: translate(-50%, -50%);
}
a:focus, a:focus,
.slider:focus, .slider:focus,
.slider__control:focus { .slider__control:focus {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment