Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> .element { padding: 50px; animation: pulse 7s infinite; } @keyframes pulse { 0% { background-color: #8ebf42; } 50% { background-color: #1c87c9; } 100% { background-color: #eee } } </style> </head> <body> <div class="element">Background of this text is animated using CSS3 animation property</div> </body> </html>