HTML Academy
Circular radius II
CSS shape() #29/15
Back to the list of tasks
  • 1. Arc command I
  • 2. Arc command II
  • 3. Arc endpoint I
  • 4. Arc endpoint II
  • 5. Horizontal coordinate of the arc endpoint
  • 6. Vertical coordinate of the arc endpoint
  • 7. Circular radius I
  • 8. Circular radius II
  • 9. Elliptical radii I
  • 10. Elliptical radii II
  • 11. Vertical arc radius
  • 12. Horizontal arc radius
  • 13. Endpoint and radius I
  • 14. Endpoint and radius II
  • 15. Endpoint and radius III
Elliptical radii II
  • Sign up
  • Log in

Loading…
Everything will be ready in a few seconds.

  • Challenge

Elliptical radii 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-9.css"> <link rel="stylesheet" href="style.css"> </head> <body> <main class="stage"> <div class="shape-shell"> <div class="shape"></div> </div> </main> </body> </html>
.shape { clip-path: shape( from 0px 0px, line to 0px 220px, line to 160px 220px, arc to 160px 0px of {{radii}}, line to 160px 0px, 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.