CSS Media Queries

 

CSS Media Queries

Media queries help to add responsiveness to the website by adding breakout points or when only a certain condition is true.

 

Eg:

CSS Media Queries

 

Output:

CSS Media Queries

The output of this code would change when the dimension would be 800px.

CSS Media Queries