The curious case of border-radius:50%
Read OriginalThis 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.
0 Comments
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