+ 4
How to give rounded corners to a button in CSS?
12 ответов
+ 4
Try in CSS:
button {
border-radius: 10px;
}
+ 3
Keep Adjusting the value u used till you get the desired shape.
+ 2
ALI HYDER if you want an absolute circle as a border, then use this syntax
img{
border-radius:50%;
}
Note, to get a full circle, your border-radius must have a value of half its height and width, that's why you use 50%
+ 2
I got it. Thank you friends for helping me.
+ 1
Try "border radius" property and values. Using external Css or inline Css.
+ 1
I have tried they are not perfect round, They are partial rounded.
+ 1
ALI HYDER 50% right?
+ 1
Yes.
+ 1
Satnam Singh yeah
0
Satnam Singh He wants a full circle, using 10px border-radius won't result in that