A little perspective on CSS
Make
layers
matter.
The web is a stack of ideas. Give every element its place, and watch your world fall into order.
Meet your next level ↓CSS IS ALL ABOUT
WHAT’S ON TOP.
WHAT’S ON TOP.
z-index: 1
z-index: 10
z-index: 100
Z-INDEX
position: relative;
z-index: 999;
z-index: 999;
Z
.element { z-index: 999; }
One more layer
Stack it up.
A tiny falling-block challenge. Complete rows, chase a high score, and keep the stack from reaching the top.