2019-10-13
Perfect border radius
To make an element have perfectly rounded corners, you can't use border-radius: 100%;
because the element will behave like an oval.
Solution
.element {
border-radius: 100vh;
}
Page 1 of 2 - 2 posts
To make an element have perfectly rounded corners, you can't use border-radius: 100%;
because the element will behave like an oval.
.element {
border-radius: 100vh;
}
Comments