0

HTML5 Stroke Element

I don't understand the stroke element. Can anybody clarify how it works?

5th Nov 2017, 9:11 PM
Christian Kane
Christian Kane - avatar
1 Resposta
+ 1
'stroke' is not an element, but an attribute... It's an attribute specific to svg elements (tags), and define the color used to draw outline of shapes: it require to also set a value to the "stroke-width" attribute to be effective (else you doesn't see any change of color on a default zero width outline ^^)
6th Nov 2017, 3:58 AM
visph
visph - avatar