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.
/* ruleset for >= 600px */
}
Join the conversation