+ 2
Stroke="color" ?
Hi community: I tried adding an outline with the stroke atribute (stroke="000000") but it is not doing anything, are the colors in Hex or or RGB? Also what is the attribute to control the size of the outline? Is it border as in CSS? thank you!
3 Respostas
+ 3
The size of the outline is with stroke-width="". And hex colors start with a #, so #000000. See www.w3schools.com/graphics/svg_stroking.asp
+ 1
Ok I think I solved the problem with the stroke (stroke="black") but I still need to know about the size of the outline. Please and thank you.
+ 1
Ups never mind! I just needed to get further into the section to see the solution: style="stroke:#000000; stroke-linecap:round; stroke-width:20" this solves it. :)