Welcome Guest, Not a member yet? Register   Sign In
Allow inline style attibute on element using Content Security Policy (CSP)
#8

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">
<img class="d-block w-100" src="..." alt="Second slide">
</div>
Reply


Messages In This Thread
RE: Allow inline style attibute on element using Content Security Policy (CSP) - by wdeda - 09-24-2021, 08:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB