Give help. Get help.
I’m using the css below to set the height of the div with a class of “.intro”. It works fine for me:
padding: 0 7%;
However, i’d like to make the background image of the div to adjust to the viewport height. Any guidance appreciated. Thanksl
There isn’t an image in the code sample you provided, but have a look into the background-size CSS property.
For specific help, please create a reduced demo in CodePen using just enough HTML and CSS to clearly show any problems you’re having.
You must be logged in to reply to this topic.