+ 4

What's wrong with my code?

<circle svg width=1000 height=1000 cx=30 cy=30 r=20 fill=red></svg></circle>

22nd Aug 2018, 10:28 PM
Emily LaBar
2 Antworten
+ 7
there 's no thing called height-width in svg. Also you forgot to place quotation marks. fill:red should be in style=" …"
23rd Aug 2018, 7:59 PM
Roneel
Roneel - avatar
+ 4
<svg> <circle cx="30" cy="30" r="20" style="fill:red"/> </svg>
22nd Aug 2018, 10:47 PM
Steppenwolf
Steppenwolf - avatar