OLD | NEW |
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV
G-20010904/DTD/svg10.dtd"> | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SV
G-20010904/DTD/svg10.dtd"> |
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" viewBox="0 0 100 100"> | 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin
k" width="100" height="100" viewBox="0 0 100 100"> |
4 <style> | 4 <style> |
5 a rect { | 5 a rect { |
6 fill: green; | 6 fill: green; |
7 stroke: green; | 7 stroke: green; |
8 } | 8 } |
9 | 9 |
10 a:visited rect { | 10 a:visited rect { |
11 fill: red; | 11 fill: red; |
12 stroke: red; | 12 stroke: red; |
13 } | 13 } |
14 | 14 |
15 @keyframes test { | 15 @keyframes test { |
16 to { | 16 to { |
17 fill: lime; | 17 fill: lime; |
18 stroke: lime; | 18 stroke: lime; |
19 } | 19 } |
20 } | 20 } |
21 | 21 |
22 rect { | 22 rect { |
23 animation: test steps(2, start) 1000s; | 23 animation: test steps(2, start) 1000s; |
24 } | 24 } |
25 </style> | 25 </style> |
26 <a xlink:href=""> <!-- Visited link --> | 26 <a xlink:href=""> <!-- Visited link --> |
27 <rect x="0" y="0" width="100" height="100" stroke-width="2" /> | 27 <rect x="0" y="0" width="100" height="100" stroke-width="2" /> |
28 </a> | 28 </a> |
29 </svg> | 29 </svg> |
OLD | NEW |