Template:FullSpoiler

div { width: 100px; height: 100px; background-color: red; -webkit-animation-name: example; /* Safari 4.0 - 8.0 */ -webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */ animation-name: example; animation-duration: 2s; animation-iteration-count: infinite; }

/* Safari 4.0 - 8.0 */ @-webkit-keyframes example { 0%  {background-color: red;} 50% {background-color: #990000;} 100% {background-color: red;} }

/* Standard syntax */ @keyframes example { 0%  {background-color: red;} 50% {background-color: #990000;} 100% {background-color: red;} }