<LEARN/>
← CSS

// lesson 38 of 40

Container queries

Unlike media queries, container queries allow you to make more specific adjustments to elements based on the size and state of their ancestors, or containers.

// 1. read the lesson

Take your time with the original lesson. When you feel ready, come back and test yourself below.

Open the lesson ↗

Original lesson by web.dev. Course content belongs to its creators.

Sign in to take the lesson test.

Your answers and code are checked and saved to your account.

Sign in