D
D
Dmitry Molokanov2017-08-19 00:24:21
Slider
Dmitry Molokanov, 2017-08-19 00:24:21

How to make slider with changing background?

Hello. The task is to make a slider, but so that the purely background image changes, and the text, back link form, etc. fixed on the spot .. I searched on the Internet - I did not find anything sensible. I ask you for help. Connected owl-carousel. But when overlaying owl-carousel, all elements slide down under the background image and the slider works. If you apply the div that is in the slide, the absolute property, then it shrinks to 1px in height. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cssfish, 2017-08-20
@cssfish

so you make a block on top of the whole carousel and put the text there.
absolute & z-index to the rescue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question