css border rounded code example
Example 1: css rounded corners
.class {
border-radius: 4px;
}
.circle {
border-radius: 50%;
}
Example 2: how to make borders rounded in css
#rcorners {
border-radius: 25px;
}
Example 3: how to round the corners of a div outline in css
div {
outline: auto;
outline-style: round;
}
Example 4: How to make a round corner in CSS
#roundCornerID {
border-radius: 30%;
width: 200px;
height: 150px;
}
Example 5: css rounded corners
border-radius: 10px;
border-radius: 10px 5%;
border-radius: 2px 4px 2px;
border-radius: 1px 0 3px 4px;
border-radius: 10px / 20px;
border-radius: 10px 5% / 20px 30px;
border-radius: 10px 5px 2em / 20px 25px 30%;
border-radius: 10px 5% / 20px 25em 30px 35em;
border-radius: inherit;
border-radius: initial;
border-radius: unset;
Example 6: css rounded corners
.class {
border-radius: 5px;
}
.circle {
border-radius: 50%;
}