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">Der Hintergrund dieses Textes wird mithilfe der CSS3-Eigenschaft animation animiert.</div> </body> </html>