Answers for "custom border radius"

CSS
6

border-radius circle using %

.circle {
    background-color:#fff;
    border:1px solid red;    
    height:100px;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:100px;
}
<div class="circle"></div>
Posted by: Guest on April-04-2020
0

outline radius css

/* use box-shadow instead of outline radius */
box-sizing: border-box;
border-radius: 100%;
border: 3px solid #dadada;
box-shadow: 0 0 0 2px #fff inset;
Posted by: Guest on July-20-2021

Browse Popular Code Answers by Language