DEV Community

Discussion on: Understanding CSS Media Queries

Collapse
violet profile image
Elena

I would also add that the responsive break points are not limited to pixels only. You can also have code like @media (max-width: 100em) or @media (max-width: 50vw)

Collapse
zagaris profile image
Aris Zagakos Author

Yeah, that's correct and thank you for your comment. As you referred above media queries allows you to use your preferred units of measure and don't restrict you to use only pixels.