image fade in fade out animation css code example Example: animation fade in css document.getElementById("test").children[0].className += " load";