Skip to content

Commit

Permalink
docs: 4bitcss /HowTo/SVG ( Fixes #99 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Oct 26, 2024
1 parent 6d6d489 commit f30a824
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/HowTo/SVG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
layout: none
---

<h3 style='text-align:center'>SVG</h3>

~~~svg
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100"
height="20%" width="20%">
<rect
width="50%" height="50%"
x="25%" y="25%"
class="purple-stroke blue-fill" />
<circle
r="25%" cx="50%" cy="50%"
class="red-stroke green-fill" />
<line
x1="0%" x2="100%" y1="50%" y2="50%"
class="purple-stroke" />
</svg>
~~~

<div style='text-align:center'>
<svg
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100"
height="20%" width="20%">
<rect
width="50%" height="50%"
x="25%" y="25%"
class="purple-stroke blue-fill" />
<circle
r="25%" cx="50%" cy="50%"
class="red-stroke green-fill" />
<line
x1="0%" x2="100%" y1="50%" y2="50%"
class="purple-stroke" />
</svg>
</div>

0 comments on commit f30a824

Please sign in to comment.