From the course: Advanced CSS Media Queries

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with only

Working with only - CSS Tutorial

From the course: Advanced CSS Media Queries

Start my 1-month free trial

Working with only

- [Instructor] Finally, you might be wondering about the word only. Maybe you've seen it used in media queries before like this one. The word only here has no meaning at all to modern browsers. It's useful for preventing older browsers from trying to apply media queries and these various media features with their styles get confused and horrible things might happen. So only is here only to prevent older browsers from using media queries. If you're not working with an older browser, chances are, you're never going to need only

Contents