HTML Academy
Starting Coordinates II
CSS shape() #15/14
Back to the list of tasks
  • 1. Clipping Function I
  • 2. Clipping Function II
  • 3. Starting Coordinates I
  • 4. Starting Coordinates II
  • 5. Starting Position with Keywords I
  • 6. Starting Position with Keywords II
  • 7. Straight Lines I
  • 8. Straight Lines II
  • 9. Line End Point X Coordinate
  • 10. Line End Point Y Coordinate
  • 11. Horizontal Lines I
  • 12. Horizontal Lines II
  • 13. Vertical Lines I
  • 14. Vertical Lines II
Starting Position with Keywords II
  • Sign up
  • Log in

Loading…
Everything will be ready in a few seconds.

  • Challenge

Starting Position with Keywords I

Recreate the target with code
DifficultyEasy
CategoryHTML/CSS
Current
Your current page
Target
The result to match
ResultAppears after the first checkAppears after checking
  • index.html
  • style.css
HTML
CSS
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Challenge</title> <link rel="stylesheet" href="setting.css"> <link rel="stylesheet" href="local-5.css"> <link rel="stylesheet" href="style.css"> </head> <body> <main class="stage"> <div class="ruler-h"></div> <div class="ruler-v"></div> <div class="shape-shell"> <div class="shape"></div> <div class="vertices"></div> </div> </main> </body> </html>
.shape { clip-path: shape( from {{startPosition}}, line to 320px 220px, line to 0px 220px, close ); }
-1
Preview

The code has changed. Click “Reload” or turn on autorun.

You have left the challenge page.

Click inside the preview to focus this window.

100%
0
    Completed 0%.

    Challenge completed

    Extra moves
    Continue

    Cookies ∙ Privacy ∙ License Agreement ∙ About ∙ Contacts ∙ © HTML Academy OÜ, 2019−2026

    VISAMastercard

    We are using cookies to gather information which will help you use our website most effectively. You can read about this here or disable this feature if you want. By continuing to browse the site, you agree to our use of cookies.