Copy link to clipboard
Copied
I'm creating a SVG file in Illustrator to use on a responsive website. I always want the stroke weight to be 1pt regardless of the scale / size that the image displays on the website.
Is this possible within Illustrator?
You will have to use CSS styling for that. This has to be coded outside of Illustrator. You cannot do that in Illustrator.
Copy link to clipboard
Copied
You will have to use CSS styling for that. This has to be coded outside of Illustrator. You cannot do that in Illustrator.
Copy link to clipboard
Copied
I've opened the SVG file in a text editor and added
vector-effect="non-scaling-stroke"
to the code. Works now.
Copy link to clipboard
Copied
Thank you for returning to post the solution.