Thursday, August 30, 2018

Pure CSS Slide-Down Animation

Sometimes something seems like it should be really easy, but it turns out to be extremely difficult. The case we'll be checking out today is creating a slide-down animation using purely CSS. What could be so hard about that, right? 

What Are We Talking About?

If you're not sure what I mean by a "slide-down animation," check out the slideDown method from jQuery. This function will take a hidden element and make it visible by increasing the element's height from 0 to whatever the height of the element should be. That shouldn't be too hard, right?



from DZone.com Feed https://ift.tt/2NueDct

No comments:

Post a Comment