+ 3
How to make a rectangle with round corners?
3 Antworten
+ 11
Use border-radius:;
Here is an example:
https://code.sololearn.com/WML01YshwUvV/?ref=app
+ 16
Use the CSS border-radius property. Here’s the syntax:
element {
border-radius: ____;
}
Here, __ is how round you want the corners to be, usually with px after to tell the compiler that it’s using pixels. However, you can also set it to 50%, which will make it a circle.
https://www.sololearn.com/learn/CSS/2238/
+ 9
Use border-radius
https://www.w3schools.com/css/css3_borders.asp