I'm trying to create a circle with CSS, which looks exactly like on the following picture:
...with only one div
:
<div class="myCircle"></div>
and by using only CSS definitions. No SVG, WebGL, DirectX, [...] allowed.
I've tried to draw a full circle and fading half of it with another div
, and it does work, but I'm looking for a more elegant alternative.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…