I have a mobile application that I want to blow up full-screen. Twitter Bootstrap gives me the size for phones, tablets, and all that information. I would like a CSS class to handle all of the different types of sizes. I’m looking for something like this:
@media (max-width: 480px) classname
@media (max-width: 767px) classname
etc
Something like this?
Note that the media query with the smaller
max-widthis set last to allow it to override the media query with the largermax-width.See this article for more on using media queries.