Home
CSS
CSS Rounded Corners
Tryit: Creating elliptical corners
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> #rcorners1 { border-radius: 50px / 15px; background: #73AD21; padding: 20px; width: 200px; height: 150px; } #rcorners2 { border-radius: 15px / 50px; background: #73AD21; padding: 20px; width: 200px; height: 150px; } #rcorners3 { border-radius: 50%; background: #73AD21; padding: 20px; width: 200px; height: 150px; } </style> </head> <body> <h1>The border-radius Property</h1> <p>Elliptical border - border-radius: 50px / 15px:</p> <p id="rcorners1"></p> <p>Elliptical border - border-radius: 15px / 50px:</p> <p id="rcorners2"></p> <p>Ellipse border - border-radius: 50%:</p> <p id="rcorners3"></p> </body> </html>