โ† Home BP ยท 7-9 ๐ŸŽญ

Spotlight Stage

17
๐ŸŽฏ Today's Missions
๐ŸŽต ๐ŸŽถ ๐ŸŽท ๐ŸŽป
๐ŸŽญ
Stage & Music Universe
Spotlight Stage
You're the Stage Director! Cast three transform spells to move your performer: spin, grow, and slide. The show must go on!

โœจ Today's Concept: CSS Transforms

CSS transforms are stage directions for your web page. They move things without changing the layout around them โ€” like an actor striking a pose without reshuffling the whole stage!

๐Ÿ”„ rotate โ€” spin around ๐Ÿ“ scale โ€” grow or shrink ๐ŸŽฏ translate โ€” slide anywhere
โ† Lesson 16: Robot Grid Builder โ€” you arranged robots in a grid. Today, make performers DANCE across it!
Step 1 / 4
Spin the singer! Drag the ROTATE dial to exactly 180ยฐ โ€” a half turn.
๐ŸŽญ The Grand Stage ๐ŸŽญ
๐Ÿ’ƒ
๐Ÿ”„rotate(0ยฐ)
๐Ÿ“scale(1.0)
๐ŸŽฏtranslate(0, 0)
๐Ÿ”„ ROTATE Spin the performer
0ยฐ
๐Ÿ“ SCALE Grow or shrink
scale: 1.0ร—
๐ŸŽฏ TRANSLATE Slide across the stage
๐Ÿ“œ Your 4 Stage Challenges
0 of 4 challenges complete
๐ŸŒŸ
Show's Over โ€” You Did It!
You directed the whole show with three transform spells. Take a bow, director! ๐ŸŽญ

๐Ÿ’ซ What You Learned

  • rotate(deg) spins an element around its center โ€” 180ยฐ is a half turn, 360ยฐ is a full spin.
  • scale(n) grows (1.5 = bigger) or shrinks (0.5 = smaller) without touching the layout.
  • translate(x,y) slides an element to a new spot โ€” positive X is right, positive Y is down.
  • Transforms stack โ€” you can rotate AND scale AND translate at the same time!
  • Transforms are visual only โ€” the page around the element stays put. Magic! โœจ
๐ŸŽฌ Come Back Tomorrow!
Next up: make your elements MOVE over time with CSS transitions and keyframe animations โ€” the performer will dance on their own!
๐Ÿ  Home
Nice move! ๐ŸŽ‰