How to use stroke to put an outline around circle in svg? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to use stroke to put an outline around circle in svg?

<svg width="2000" height="2000"> <circle cx="80" cy="80" r="50" fill="green" stroke /> </svg>

4th Nov 2017, 11:25 AM
Abdussamad Nasir
Abdussamad Nasir - avatar
1 Respuesta
+ 4
stroke="#FF0000" stroke-width="2px" You need to specify a 'stroke-width' value to be able to "put an outline"...
4th Nov 2017, 11:29 AM
visph
visph - avatar