x
 
1
<?xml version="1.0" standalone="no"?>
2
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
<svg viewBox="0 0 500 300" xmlns="http://www.w3.org/2000/svg">
4
  <defs>
5
    <style><![CDATA[
6
      feDropShadow {
7
       flood-color: black;
8
       animation: myAnimation 3s ease 1s infinite forwards;
9
      }
10
      
11
      @keyframes myAnimation {
12
        50% {
13
          flood-color: orange;
14
        }
15
      }
16
    ]]></style>  
17
    
18
    <filter id="shadow">
19
      <feDropShadow dx="10" dy="10" stdDeviation="0" />
20
    </filter>
21
  </defs>
22
23
  <rect x="0" y="0" width="100" height="100" fill="gold" style="filter: url(#shadow);" />
24
</svg>