1

I have a svg rect element. I have "fill: rgb(31, 119, 180);" which renders the rect on the left side of image below.

How can I set the rect style to render the multiple borders like the one on right?

enter image description here

0

1 Answer 1

4

This isn't possible. Instead, you could use a second rectangle. The first one would have a white background with a black border, and the interior one would be blue. Or the first one could just be black, and the interior one would be blue with a white stroke.

Not the answer you're looking for? Browse other questions tagged or ask your own question.