+ 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>
2 ответов
+ 9
animation-fill-mode not animation-fill-name
+ 2
its animation-fill-mode
not animation-fill-name