Media Queries
Media Queries work the same way as plain CSS. They allow you to define styles for different sizes, allowing responsive designs. You can also define platform-specific styles!
Syntax:
Query | Possible values |
---|---|
platform | all ios android web windows macos androidtv |
mediafeature | width height max-width max-height orientation |
device-width device-height aspect-ratio direction , prefers-color-scheme |