HTML CSS examples for CSS:Animation
Use Animation transition to change background color
<html> <head> <style> div {<!--from w w w .ja va 2 s. c om--> background-color:Chartreuse; height:201px; width:100px; animation:fontbulger 3s infinite; } @keyframes fontbulger { 0% { background-color:yellow; } 50% { background-color:blue; } 100% { background-color:pink; } } </style> <title>test</title> </head> <body> <div></div> </body> </html>