Lesson

And Operator, Codecademy, Learn Responsive Design, Media Queries

Lesson Summary

In the lessons before this one, we chained a few media features that were the same type in one query by using the and operator. This helped us by allowing us to create a range when using 'min-width' as well as 'max-width' in the same query. The and operator may also be used when wanting to require multiple media features.

Share: