StartBootstrap / startbootstrap-clean-blog

A clean Bootstrap blog theme created by Start Bootstrap
https://startbootstrap.com/theme/clean-blog/
MIT License
1.78k stars 1.85k forks source link

Media query for masthead #83

Closed pgrandinetti closed 4 years ago

pgrandinetti commented 5 years ago

I would like to serve different images as background in the <header class="masthead"> element. The actual image would be chosen with media query on the device's size (basically, always the same figure but with different file size). I was wondering if it's something you've already done, or if you have suggestions/templates. Cheers

davidtmiller commented 4 years ago

That is something that should be easy enough to accomplish with a little bit of custom CSS. Just use media queries in a CSS file targeting the masthead and use different background images in each media query.