+ 3

How to make a rectangle with round corners?

23rd Mar 2019, 4:44 AM
cat programmer
cat programmer - avatar
3 Respuestas
+ 11
Use border-radius:; Here is an example: https://code.sololearn.com/WML01YshwUvV/?ref=app
23rd Mar 2019, 4:52 AM
Jingga Sona
Jingga Sona - avatar
+ 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/
23rd Mar 2019, 4:57 AM
Rowsej
Rowsej - avatar
23rd Mar 2019, 4:50 AM
Shamima Yasmin
Shamima Yasmin - avatar