+ 2

How can i make my h1 stay at 50px after making it grow to 50px.

<!doctype html> <html> <head> <style> @keyframes grow{ from{ font-size:20px; } to{ font-size:50px; } } h1{ animation-name:grow; animation-duration:3s; animation-fill-mode:forwards; } </style> <script type="text/javascript"></script> </head> <body> <h1>Live wear</h1> </body> </html>

11th Mar 2020, 11:45 AM
OWINO ALFRED
OWINO ALFRED - avatar
2 Respostas
+ 9
animation-fill-mode not animation-fill-name
11th Mar 2020, 11:47 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
its animation-fill-mode not animation-fill-name
11th Mar 2020, 11:47 AM
Taste
Taste - avatar