Answer the question
In order to leave comments, you need to log in
Is it possible to make a slick slider out of backgrounds?
Can you please tell me if it is possible to make a background image slider using slick slider?
Google does not help ( The documentation says that images should be placed in a div block. But what about background images? I
want to make such a slider
Answer the question
In order to leave comments, you need to log in
Place a block in the div, set position: absolute;
, and set the parent block position: relative;
(relative is needed so that the pictures do not crawl out of the parent block)
stretch the div with the pictures to fill the screen width: 100%; height: 100%;
And that's it!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question