r
Widely availableSince 202097% of users
Sets the radius of an SVG <circle> element. This property allows you to control the size of circles directly from your CSS, which is great for hover effects or animations.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since July 2020. Widely available since January 2023.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
0- Inherited
- No
- Applies to
- SVG <circle> elements
- Animation type
- byComputedValueType
Quick example
circle.dot {
fill: var(--accent);
/* Sets the radius to 10 pixels */
r: 10px;
transition: r 0.3s ease;
}
circle.dot:hover {
r: 15px;
}r browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2020.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
43+
69+
9+
79+Mobile
43+Android
79+Android
9+iOS