Answers for "how to svg path width 100%"

0

css svg width 100%

<svg height="100%" width="100%" viewBox="0 0 100 100"  preserveAspectRatio="none">
   <path d="M0 0 L100 0 L50 100 Z" />
</svg>
Posted by: Guest on August-31-2020
1

path width svg change

<!-- html -->
<path stroke-width="2" ... />
/*css*/
path{
	stroke-width: 2;
}
Posted by: Guest on August-05-2021

Browse Popular Code Answers by Language