Update Border-Radius section (#25703)

Explain how border-radius is interpreted if only 2 values are provided.
This commit is contained in:
laolmstead
2018-11-27 10:26:12 -05:00
committed by Aditya
parent 254897c372
commit a9d43632f2

View File

@ -114,6 +114,10 @@ Each corner of `border-radius` can be adjusted individually in the following ord
```css
border-radius: 15% 10px 30% 5px;
```
If only two values are provided, the first value will be applied to the top-left and bottom-right corners and the second value will be applied to the top-right and bottom-left corners.
```css
border-radius: 10px 5px;
```
More complex border-radius values are available. This is done using a slash (/) between horizontal and vertical values.