I have this ellips that I have to draw in css, but I can’t make sense of it anyone has an idea how can I do it ? knowing that I have to make it responsive
I tries to make it first as an svg but it was too big , then I tried to look for a way to draw it using css but can’t put my hand on the right track
2
Answers
Based on Vladimir Petukhov’s comment, here it is:
With your SVG, simplified:
Notice that the
cx
and therx
must be the half of theviewbox
‘swidth
, and thecy
and thery
the half of theviewbox
‘sheight
!Using border-radius:
Using the
shape-outside
property :