Interactive online courses HTML Academy
2026-03-09 12:55 Diff
  • index.html
  • style.css

HTML

<!DOCTYPE html> <html lang="en"> <head> <title>Features of transform-origin, part 4</title> <meta charset="utf-8"> <link rel="stylesheet" href="world.css"> <link rel="stylesheet" href="style.css"> </head> <body> <div class="world homeworld"> <div class="picture-frame"> <div class="picture"></div> </div> <button class="btn-activate">Run</button> </div> </body> </html>

Thanks! We’ll fix everything at once!

You’ve gone to a different page

Click inside the mini-browser to shift the focus onto this window.

100%

Change the transform-origin values to the following for the .picture block:

  1. top left.
  2. top right.
  3. bottom left.
  4. 50% 100%.

Press the “Run” button after each change.