Lea Verou 10/30/2010

The curious case of border-radius:50%

Read Original

This article delves into the CSS border-radius property when used with percentage values. It explains the W3C specification, discusses historical browser bugs and inconsistencies (particularly in Firefox), and highlights why percentages are uniquely useful for creating perfect circles and ellipses without knowing an element's dimensions in advance.

The curious case of border-radius:50%

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
ServiceNow and Microsoft Copilot
Marius Sandbu 1 votes
2
The Learning Loop and LLMs
Martin Fowler 1 votes