Padheye.com : Discover Excellence

The Path To Discover Excellence.

Thursday, 18 February 2016

Media Type in Media Queries

 

Media Type in Media Queries

When writing media queries in CSS we use the only keyword to specify the type of device. Initially, CSS incorporated a variety of media types such as screen, print and handheld. In order to ensure responsive design and to accommodate a variety of screen sizes the keyword screen is now always used for displaying content.


@media only screen and (min-width: 600px) {
    /* ruleset for >= 600px */

}   

No comments:

Post a comment