Allow adding CSS to the SVG |
Use viewBox instead of width/height |
||
Line 28: | Line 28: | ||
}} | }} | ||
| | |viewBox=0 0 30 70|width={{{Width|30}}}|style=display: block;/**/{{{Style|}}} | ||
}} | }} | ||
Revision as of 21:08, 11 February 2024
Example:
Allow adding CSS to the SVG |
Use viewBox instead of width/height |
||
Line 28: | Line 28: | ||
}} | }} | ||
| | |viewBox=0 0 30 70|width={{{Width|30}}}|style=display: block;/**/{{{Style|}}} | ||
}} | }} | ||
Example: