OLD | NEW |
---|---|
(Empty) | |
1 <style> | |
2 .filtered { | |
3 -webkit-filter: url(#colormatrix); | |
4 filter: url(#colormatrix); | |
5 background-color: green; | |
6 width: 100px; | |
7 height: 100px; | |
8 margin: 0px; | |
9 -webkit-transform: translateZ(0); | |
10 } | |
11 body { | |
12 margin: 0px; | |
13 } | |
14 </style> | |
15 <body style="zoom: 50%;"> | |
16 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1"> | |
17 <defs> | |
18 <filter id="colormatrix" color-interpolation-filters="sRGB" x="0%" y="0%" wi dth="100%" height="100%"> | |
19 <feColorMatrix x="2" y="12" width="80" height="60"/> | |
20 </filter> | |
21 </defs> | |
22 </svg> | |
23 <div class="filtered"> | |
24 </div> | |
25 </body> | |
OLD | NEW |