CSS transforms are magic spells โ rotate spins, scale grows, translate slides! Design your own enchanted sticker! ๐ช
๐ฏ MissionsDay โฆ
โฆ
โฆ
โฆ
โ โ โ sticker.cssCSS
magic stageLIVE
๐ฐ Magic Mission Step 1 of 5
โฆ
๐ก Hint:โฆ
โจ Sticker Studio
In Hello Colors you painted with CSS colours. In Button Builder you styled with padding and border-radius. Today you learn the most magical CSS power of all: transforms! These are spells that let you rotate (spin), scale (grow), and translate (slide) ANY element on your page. Tonight you're the Court Wizard of the ๐ฐ Magic Castle โ and you'll design your own enchanted sticker!
๐rotate(deg) spins an element. rotate(45deg) tilts it halfway. rotate(360deg) does a full spin!
๐scale(number) grows or shrinks. scale(2) doubles the size. scale(0.5) shrinks it in half!
โก๏ธtranslateX(px) slides left or right. translateX(80px) pushes it right. Negative slides left!
โจEdit the gold box in the code โ the sticker reacts live! Hit โ Check to complete each spell.
๐ Court Wizard!
You just mastered CSS transforms โ the spells that make every website feel alive! Rotate spins, scale grows, translate slides. Chain them together and ANY element can dance, bounce, and fly. Animations, games, and cool effects ALL start with these three spells!
๐ฆ
Your Magic Sticker!
๐ What you learned
transform: rotate(45deg) โ spins an element by any angle
transform: scale(2) โ grows (or shrinks) an element
transform: translateX(80px) โ slides an element sideways