The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [SOLVED]bootstrap 3 responsive background issue
I am using bootstrap 3. I tried setting a background image on a div and then making that background image responsive but it’s not working.
I needed the full width. So I tried this
` <div id=”header”>
</div>
//css #header { background: url(my image) repeat-x; max-width: 100%; max-height: 679px; `
Looks like I figured it out.
min-height: 679px; background-size: contain;
Thx soo much I’ve been looking for a solution all day long :D