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