Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • @jackchealdang

    Posted

    This is great, thanks for inspiration on the smooth animations with just CSS! And I like the way you are using :after and keeping JavaScript so simple. I am going to modify my own based on yours.

    And as for why there's a delay: it's because your max-height is set too high, so I think it tries to transition from that max-height to 0, causing the delay. Try setting it lower and that should help!

    Marked as helpful

    0