โ† Lessons BUILDER PATH

โœจ Sticker Studio

Lesson 18 of 20
๐Ÿฐ
Themed Universe
Magic Castle
CSS transforms are magic spells โ€” rotate spins, scale grows, translate slides! Design your own enchanted sticker! ๐Ÿช„
๐ŸŽฏ Missions Day โœฆ
โ€ฆ
โ€ฆ
โ€ฆ
โ— โ— โ— sticker.css CSS

  
magic stage LIVE

๐Ÿฐ 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!

๐Ÿช„ Transform Spells
transform: rotate(45deg); // spin!
transform: scale(2); // grow!
transform: translateX(80px); // slide!
โ†’ chain them: rotate(90deg) scale(2) translateX(50px)
๐Ÿ”„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.