9
In CSS, we have the attribute border-radius
.
Generally the use of the following forms:
border-radius:10px;
border-radius:10px 20px 20px 10px;
But I came across the following code one of these days and to this day I do not understand what it serves in practice.
div {
border-radius: 100px/55px;
background-color:#333;
height:100px;
}
<div></div>
What does this bar in the value of border-radius
?
But this warps the shapes in a totally different way. So how does it work?
– Wallace Maxters
@Andrébaill, but he doesn’t generate equal borders for the four sides, right?
– Wallace Maxters
They gave +1 their comment, but it doesn’t seem to be @Andrébaill. I figured it wasn’t really, because the sides don’t look the same. See my example with snippet in the question
– Wallace Maxters