Skip to content

Part 7: Media Queries

John Caserta edited this page Apr 6, 2018 · 5 revisions

Media queries allow different declaration blocks to be called in different conditions -- most useful in viewport width.

What we'll cover

  • Syntax for media query

Exercise: Change one flag to another

Using flex or grid, create a simple flag (your own country?). Change that flag to two other designs at two breakpoints (720px width and 360px width).

Resources

You can’t perform that action at this time.