Allow inline style attibute on element using Content Security Policy (CSP) |
One last thing. Looking more carefully at your post, what you call a slider seems to me to be something in which a certain number of images, or even a single image, are displayed in sequence, as with the bootstrap carousel (https://getbootstrap. com/docs/4.0/components/carousel/) that I use. If so, there is, in my opinion, a confusion of concept or definition.
A background image is exactly what its name says, it's an image that stays in the background, that is, it has a decorative effect, like a desktop wallpaper, so it doesn't apply to you, you need the img tag, from html as used in bootstrap carousel: Code: <div class="carousel-item"> |
Welcome Guest, Not a member yet? Register Sign In |