Answer the question
In order to leave comments, you need to log in
Why are svg icons with the same style rendered differently?
I'm making an educational website. Working in a storm with the help of prof. assembly, which eventually produces one svg file.
In the base css I wrote the following styles for the icons
.site-icon {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
}
Answer the question
In order to leave comments, you need to log in
If you show SVG, it will become clearer what it is about
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question