How to make an image stretch in different screens

I have a divider with the ID `#divider. I use Elementor to edit my wordpress website and fix stuff with CSS. It looks well on certrain screens, but I just checked it on my laptop and it won’t stretch to the the edges. It’s wide is 1278 px.

I tried using background-size: cover/100% but it won’t work. How can it be fixed?

Read more here: How to make an image stretch in different screens

Leave a Reply

Your email address will not be published. Required fields are marked *