Range of the CSS Media Query

Generally we write media query like this →

@media (max-width: 1293px) {
Code Here.
}

but how should we write the width range?

That’s pretty straight-forward… :-)

@media (min-width: 800px) and (max-width: 1024px) { /* ... */ }
2 Likes

Ok sir. Thanks. That worked.

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