Skip to content

Commit 4dc0b1f

Browse files
author
James Brundage
committed
docs: Additional SVG help ( re #99 )
Improving graphic
1 parent b452f2b commit 4dc0b1f

File tree

1 file changed

+51
-22
lines changed

1 file changed

+51
-22
lines changed

docs/About/Using-4bitCSS-In-SVG.md

Lines changed: 51 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,64 @@ You can refer to colors by name or ANSI number (0-15).
1616
xmlns="http://www.w3.org/2000/svg"
1717
viewBox="0 0 100 100"
1818
height="20%" width="20%">
19-
<rect
20-
width="50%" height="50%"
21-
x="25%" y="25%"
22-
class="purple-stroke blue-fill" />
23-
<circle
24-
r="25%" cx="50%" cy="50%"
25-
class="red-stroke green-fill" />
26-
<line
27-
x1="0%" x2="100%" y1="50%" y2="50%"
28-
class="purple-stroke" />
29-
</svg>
19+
<circle
20+
r="48%" cx="50%" cy="50%"
21+
class="brightRed-stroke red-fill" />
22+
<circle
23+
r="42%" cx="50%" cy="50%"
24+
class="brightYellow-stroke yellow-fill" />
25+
<circle
26+
r="36%" cx="50%" cy="50%"
27+
class="brightGreen-stroke green-fill" />
28+
<circle
29+
r="30%" cx="50%" cy="50%"
30+
class="brightBlue-stroke blue-fill" />
31+
<circle
32+
r="24%" cx="50%" cy="50%"
33+
class="brightCyan-stroke cyan-fill" />
34+
<circle
35+
r="18%" cx="50%" cy="50%"
36+
class="brightPurple-stroke purple-fill" />
37+
<circle
38+
r="12%" cx="50%" cy="50%"
39+
class="brightBlack-stroke black-fill" />
40+
<circle
41+
r="6%" cx="50%" cy="50%"
42+
class="brightWhite-stroke white-fill" />
43+
</svg>
3044
~~~
3145

3246
<div style='text-align:center'>
3347
<svg
3448
xmlns:xlink="http://www.w3.org/1999/xlink"
3549
xmlns="http://www.w3.org/2000/svg"
3650
viewBox="0 0 100 100"
37-
height="20%" width="20%">
38-
<rect
39-
width="50%" height="50%"
40-
x="25%" y="25%"
41-
class="purple-stroke blue-fill" />
42-
<circle
43-
r="25%" cx="50%" cy="50%"
44-
class="red-stroke green-fill" />
45-
<line
46-
x1="0%" x2="100%" y1="50%" y2="50%"
47-
class="purple-stroke" />
51+
height="20%" width="20%">
52+
<circle
53+
r="48%" cx="50%" cy="50%"
54+
class="brightRed-stroke red-fill" />
55+
<circle
56+
r="42%" cx="50%" cy="50%"
57+
class="brightYellow-stroke yellow-fill" />
58+
<circle
59+
r="36%" cx="50%" cy="50%"
60+
class="brightGreen-stroke green-fill" />
61+
<circle
62+
r="30%" cx="50%" cy="50%"
63+
class="brightBlue-stroke blue-fill" />
64+
<circle
65+
r="24%" cx="50%" cy="50%"
66+
class="brightCyan-stroke cyan-fill" />
67+
<circle
68+
r="18%" cx="50%" cy="50%"
69+
class="brightPurple-stroke purple-fill" />
70+
<circle
71+
r="12%" cx="50%" cy="50%"
72+
class="brightBlack-stroke black-fill" />
73+
<circle
74+
r="6%" cx="50%" cy="50%"
75+
class="brightWhite-stroke white-fill" />
4876
</svg>
77+
4978
</div>
5079
<script>hljs.highlightAll();</script>

0 commit comments

Comments
 (0)