Here is the solution.
Working script
Inspiration from the shape of a magnifying glass LINK
EDIT: This is also a custom arc. Thus, you can increase or decrease the size of the circle only by making one change to this line in CSS
font-size: 15em;
CSS
#pie { font-size: 15em; display: inline-block; width: 0.5em; height: 0.5em; border: 0.05em solid #00cc00; position: relative; border-radius: 0.35em; } #pie::before { content:""; display: inline-block; position: absolute; right: 0.33em; bottom: 0em; border-width: 0; background: white; width: 0.22em; height: 0.12em; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); }
HTML
<div id="pie"><div>
EDIT 2: Here is the solution fiddle on canvas. Personally, I believe that you should use this method. Fiddle
Code borrowed from Tharindulucky
source share