OLD | NEW |
---|---|
(Empty) | |
1 <html> | |
2 <head> | |
3 <style> | |
4 .error { | |
5 width: 100px; | |
6 height: 100px; | |
7 background-color: red; | |
8 position: absolute; | |
9 } | |
10 .clipped { | |
11 width: 100px; | |
12 height: 100px; | |
13 background-color: green; | |
14 -webkit-clip-path: url(#MyClipPath); | |
15 clip-path: url(#MyClipPath); | |
16 } | |
17 </style> | |
18 </head> | |
19 <body> | |
20 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1" id= "svg"> | |
21 <defs> | |
22 <clipPath id="MyClipPath" clipPathUnits="objectBoundingBox"> | |
23 <circle cx="0.5" cy="0.5" r="0.5"> | |
24 <animate attributeName="r" attributeType="XML" from="0.25" to="1" begin= "0s" dur="0.1s" fill="freeze"/> | |
25 </circle> | |
26 </clipPath> | |
27 </defs> | |
28 </svg> | |
29 <div class="error"></div> | |
30 <div class="clipped" id="div1"></div> | |
31 </body> | |
pdr.
2014/08/04 17:06:31
indentation.
Shanmuga Pandi
2014/08/06 14:51:34
Done.
| |
32 </html> | |
33 | |
OLD | NEW |