Back to Svgo

removeOffCanvasPaths

docs/04-plugins/removeOffCanvasPaths.mdx

4.0.1435 B
Original Source

If a viewBox is present, removes <path> elements that are drawn outside of it.

Elements with a transform attribute are ignored, to avoid falsely removing elements that are brought into view through styles or an animation.