If you wanted to apply it to svg, then the CSS3 Borders and backgrounds spec will help you do this if you are referencing svg.
If you meant that you want to do this inside the svg file, then you can use <pattern> (possibly combined with some nested <svg> elements) to do something like this. Nested <svg> elements may be another way to do this, for example, this example . As an alternative, use 9 <use> elements with different transformations, each of which has a different clip path.
Erik dahlstrΓΆm
source share