Can someone help me figure out how to color only the bottom 25% of a circle using CSS?
I'm looking for something similar to this:
Sample image needed:
https://i.sstatic.net/F1nn4.jpg
Here's what I have so far:
screenshot:
https://i.sstatic.net/Ir5GL.jpg
I am trying to eliminate the gap at the bottom and remove padding on the sides
.story svg {
fill:none;
stroke:red(218, 218, 218);
stroke-width:4px;
stroke-dasharray:1;
stroke-dashoffset:0;
stroke-linecap: round;
stroke:#ff008c;
}
.semi-circle {
position: absolute;
bottom: 2%;
left: 50%;
transform: translate(-50%, -50%);
height: 30%;
width: 71%;
border-radius: 0 0 100% 100%;
background-image: linear-gradient(to bottom right, rgb(219, 219, 39), red);
}
<a class="" rel="">
<i style="border-radius: 16px"></i>
<svg class="" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="40">
</svg>
<div class="semi-circle"> <span class="sm-text"> Video </span> </div>
</a>