1
0
Fork 0
freesewing/sites/dev/docs/reference/api/svg/style
Joost De Cock ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
..
readme.mdx chore: Port FreeSewing.dev to docusaurus 2024-09-28 13:13:48 +02:00

---
title: Svg.style
---

The `Svg.style` property holds a string that will be rendered as the style
section of the SVG document.

## Signature

```svg
<style type="text/css">
  /* svg.style will be inserted */
</style>
```

## Notes

The style property is where plugins will add additional styling.

When adding your own styles, it's important not to
overwrite this property, but rather add your own.

In other words, do this:

```js
svg.style += myStyles
```

and don't do this:

```js
svg.style = myStyles
```