How can i make my h1 stay at 50px after making it grow to 50px. | Sololearn: Learn to code for FREE!

+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>

css

3/11/2020 11:45:03 AM

OWINO ALFRED

2 Answers

New Answer

+9

animation-fill-mode not animation-fill-name

+2

its animation-fill-mode not animation-fill-name