0

I am expecting at this keyframe, to grow from fit-content to 100%in 2 seconds.

Can you explain me why it grows immediately?

Jsfiddle

Nathaniel Flick
  • 2,902
  • 2
  • 22
  • 31
Peter
  • 1,280
  • 8
  • 15
  • Does max-width work for you? https://stackoverflow.com/questions/52337025/no-css-transition-for-height-fit-content. I reckon you need to start from width 0 not fit-content since without content there's no width value available. – Nathaniel Flick Jan 19 '23 at 18:42

0 Answers0