rounded corners on rectangle 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: css rounded corners
/* Use border-radius property */
.class {
border-radius: 5px;
}
.circle {
border-radius: 50%;
}