HTML Academy
Ellipse Size IV
Radial Gradients #29/15
Back to the list of tasks
  • 1. Gradient Shape I
  • 2. Gradient Shape II
  • 3. Circle Radius I
  • 4. Circle Radius II
  • 5. Ellipse Size I
  • 6. Ellipse Size II
  • 7. Ellipse Size III
  • 8. Ellipse Size IV
  • 9. Hard Transitions I
  • 10. Hard Transitions II
  • 11. Gradient Size I
  • 12. Gradient Size II
  • 13. Gradient Size III
  • 14. Gradient Size IV
  • 15. Gradient Size V
Hard Transitions II
  • Sign up
  • Log in

Loading…
Everything will be ready in a few seconds.

  • Challenge

Hard Transitions 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>Hard Stop: Adjacent Color Stops</title> <link rel="stylesheet" href="setting.css"> <link rel="stylesheet" href="local-9.css"> <link rel="stylesheet" href="style.css"> </head> <body> <main class="scene"><div class="sharp-ring"></div></main> </body> </html>
.sharp-ring { background-image: radial-gradient( circle, #22c55e {{position1}}, #052e16 {{position2}} ); }
-2
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.