round a box css code example
Example 1: css rounded corners
/* Use border-radius property */
.class {
border-radius: 5px;
}
.circle {
border-radius: 50%;
}
Example 2: border radius css
border-radius: 5px; /* The corners will be round */
/* Use border-radius property */
.class {
border-radius: 5px;
}
.circle {
border-radius: 50%;
}
border-radius: 5px; /* The corners will be round */