The -moz-outline-radius property is used to specify the radius of an outline. It is used to give rounded corners to outlines. This property is only supported in Firefox.
Syntax:
-moz-outline-radius: <length> {1-4}
| <percentage> (1-4} | initial | inherit
Property Values:
- length: This is used to set the outline radius in length units. The default value of this property is 0.
The value can be specified in 4 formats.- When one value is specified then the radius would be applied to all the corners of the element.
- When two values are specified, then the first applies to the top-left and bottom-right corners and the second value applies to the top-left and bottom-right corners.
- When three values are specified, the first one applies to the top-left corner, the second one applies to the top-right and bottom-left corners and the third one applies to the bottom-right corner.
- When four values are specified, the first one applies to the top-left corner, the second one applies to the top-right corner, the third one applies to the bottom-right corner and the fourth one applies to the bottom-left corner.
Example:
<!DOCTYPE html><htmllang="en"><head><title>-moz-outline-radius property</title><style>.elem-1 {outline: dotted;-moz-outline-radius: 5px;width: 300px;padding: 20px;margin: 15px;}.elem-2 {outline: dotted;-moz-outline-radius: 5px 50px;width: 300px;padding: 20px;margin: 15px;}.elem-3 {outline: dotted;-moz-outline-radius: 5px 50px 20px;width: 300px;padding: 20px;margin: 15px;}.elem-4 {outline: dotted;-moz-outline-radius: 5px 50px 20px 100px;width: 300px;padding: 20px;margin: 15px;}</style></head><body><h1style="color: green">GeeksforGeeks</h1><b>-moz-outline-radius</b><divclass="elem-1">This div has an outline-radiusof 5px.</div><divclass="elem-2">This div has an outline-radiusof 5px 50px.</div><divclass="elem-3">This div has an outline-radiusof 5px 50px 20px.</div><divclass="elem-4">This div has an outline-radiusof 5px 50px 20px 100px;</div></body></html>chevron_rightfilter_noneOutput:

-
percentage: This is used to set the outline radius in percentage values. The values are applied in a similar format as in the length values. The default value of this property is 0.
Example:
<!DOCTYPE html><htmllang="en"><head><title>-moz-outline-radius property</title><style>.elem-1 {outline: dotted;-moz-outline-radius: 10%;width: 300px;padding: 20px;margin: 15px;}.elem-2 {outline: dotted;-moz-outline-radius: 10% 50%;width: 300px;padding: 20px;margin: 15px;}.elem-3 {outline: dotted;-moz-outline-radius: 10% 50% 25%;width: 300px;padding: 20px;margin: 15px;}.elem-4 {outline: dotted;-moz-outline-radius: 10% 50% 25% 75%;width: 300px;padding: 20px;margin: 15px;}</style></head><body><h1style="color: green">GeeksforGeeks</h1><b>-moz-outline-radius</b><divclass="elem-1">This div has an outline-radiusof 10%.</div><divclass="elem-2">This div has an outline-radiusof 10% 50%.</div><divclass="elem-3">This div has an outline-radiusof 10% 50% 25%.</div><divclass="elem-4">This div has an outline-radiusof 10% 50% 25% 75%;</div></body></html>chevron_rightfilter_noneOutput:

- initial: This is used to set the property to its default value.
- inherit: This is used to inherit the property from its parent.
Supported Browsers: The browser supported by -moz-outline-radius property are listed below:
- Firefox 1.5
Recommended Posts:
- CSS | transition-property Property
- How to override the CSS properties of a class using another CSS class ?
- Difference between bootstrap.css and bootstrap-theme.css
- CSS | table-layout Property
- CSS | text-align Property
- CSS | border-top-width Property
- CSS | isolation Property
- CSS | border-inline-start-style Property
- CSS | column-rule-width Property
- CSS | word-spacing Property
- CSS | animation-delay Property
- CSS | margin-top Property
- CSS | border radius property
- CSS | grid Property
- CSS | font-size-adjust Property
- CSS | visibility Property
- CSS | Display property
- CSS | grid-template-columns Property
- CSS | height Property
- CSS | transform-origin Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

