N
N
Nwton2016-06-28 21:32:16
iOS
Nwton, 2016-06-28 21:32:16

Why is svg circle not showing up on ios?

In chrome, everything is as it should be. But in safari the circle element is simply not rendered. Although all other elements (lines, path) work.

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  <circle id="dot" cx="0" cy="0"/>
</svg>

#dot{
  fill: #639A6C;
  stroke: none;
  r: 20;
}

What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Andreev, 2016-07-01
@Nwton

This is how it will work, and if you want to change the dimensions, use the length of the border better, here is an example .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question