To achieve a semi-transparent circle in CSS, I'm using border-radius: 50%;
along with
border: 400px solid rgba(255, 255, 255, .5);
.
My goal is to add an additional border around this circle that is completely transparent (let's say 10 pixels), followed by another border of the same size that is semi-transparent.
This is my current setup for creating the circle:
div.circle {
background: rgba(255, 255, 255, .5);
height: 400px;
width: 400px;
border-radius: 50%;
margin: auto;
margin-top: 10px;
}
<div class="circle"></div>
How can I go about adding another border around the existing one and then yet another border?