Dateiicon
 
 

328

Attributes2style

von bipper

Convert SVG presentation attributes as shown at : https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute#SVG_attributes_by_category

In to CSS Style for that element.

For example :

<path d="m 31.907519,31.127324 51.29539,16.963506 c 0,0 9.439978,-16.121266 23.634751,-20.278233" fill="#ffdd00" stroke="orange" stroke-width="0.25"/>

becomes :

<path d="m 31.907519,31.127324 51.29539,16.963506 c 0,0 9.439978,-16.121266 23.634751,-20.278233" style="fill: rgb(255, 221, 0); stroke: orange; stroke-width: 0.25;"/>

Please note that some presentation attributes such as transforms can be converted to CSS properties,but are not widely supported.

SVG Tool

Größe
3,7 KB
Erstellt
Typ
application/zip
Apache 2.0 (ASL)

Link

Bitte melde Dich an, um einen Kommentar zu verfassen!