blob: 46bd6935daa4fc49cd2c0f132565355dd4e57e78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-0 0 800 800">
<style>
g.g1 rect {fill:green;}
g#g3 rect {fill:green;}
g.g4 #r1 {fill:green;}
g#g3 .r5 {fill:green;}
</style>
<g class="g4 g1">
<g class="g2">
<rect x="0" y="0" height="50" width="50" fill="blue"></rect>
</g>
<rect x="60" y="0" height="50" width="50" fill="blue"></rect>
</g>
<g id="g3">
<g id="g4">
<rect x="120" y="0" height="50" width="50" fill="blue"></rect>
</g>
<rect x="180" y="0" height="50" width="50" fill="blue"></rect>
</g>
<g class="g4 g1">
<g>
<rect id="r1" x="240" y="0" height="50" width="50" fill="blue"></rect>
</g>
<rect id="r1" x="300" y="0" height="50" width="50" fill="blue"></rect>
</g>
<g id="g3">
<g id="g4">
<rect class="r5" x="360" y="0" height="50" width="50" fill="blue"></rect>
</g>
<rect class="r5" x="420" y="0" height="50" width="50" fill="blue"></rect>
</g>
</svg>
|