round corners of div css code example
Example 1: css rounded corners
/* Set rounded corners with border-radius property */
.class {
border-radius: 4px;
}
.circle {
border-radius: 50%;
}
Example 2: round div
.circle {
border-radius: 50%;
height: 100px;
width: 100px;
}
Example 3: button edges rounded css
button {
border-radius: 25px;
}