Courses / CSS
16. Media Queries
Media queries are used to apply styles based on the viewport size or device characteristics.
1 min read Chapter 16 of 32
CSS
Media Queries
Media queries allow you to apply different styles based on the size of the viewport or device.
"I want my website to look good on both mobile and desktop without duplicating styles."
Media queries are CSS techniques that enable you to apply styles conditionally based on the viewport's dimensions or device characteristics, enhancing responsiveness.
"I want my website to look good on both mobile and desktop without duplicating styles."
Media queries are CSS techniques that enable you to apply styles conditionally based on the viewport's dimensions or device characteristics, enhancing responsiveness.