CSS3 Fade Animations
I am trying to combine 2 CSS3 Animations that fade in and out. Can anyone help me with this? This is what I have so far - jsFiddle Ok got your question updated my answer accordingly, the best and the least you can do it is like this Demo Actual Markup + Styles Required (Don't use it unless and until CSS3 animations are fully supported by all browsers) HTML <div class="out"><span>example</span></div> CSS div { animation:demo 7s; -moz-animation:demo 7s; /* Firefox */ -webkit-animation:demo 7s; /* Safari and Chrome */ -o-animation:demo 7s; /* Opera */ animation:demo 7s infinite; } @keyframes demo