Quantcast
Channel: How to make background-image fill the div and responsive - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Daut for How to make background-image fill the div and responsive

Maybe this is what you need:#second-footer-container{ background-image: url("https://i.imgur.com/0qRwdSI.png"); width: 100% !important; background-size: contain; background-repeat: no-repeat; height:...

View Article



Answer by Itay Gal for How to make background-image fill the div and responsive

Use background-size:containScales the image as large as possible without cropping or stretching the image.background-size - referencebody,html{ height: 100%;}div#second-footer-container {...

View Article

Image may be NSFW.
Clik here to view.

How to make background-image fill the div and responsive

I want to make a div with background image and at the top there will 3 social media icon like this:What I wanted:div#second-footer-container { background-image: url("https://i.imgur.com/0qRwdSI.png");...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images