Using @media Query

How does a @media Query works
If a website is created beautifully and is perfect by every inch in you PC, but it becomes very creepy if you minimize your window or if you are using Mobile.
To fix this problem @media is used in CSS.
The Syntax of @media is as given:
Screenshot from 2023-03-20 19-00-28

Just after @media screen the condition is written. Mostly, the condition consists of

Blockquote max-width, max-height, min-width and min-height properties.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.