Skip to content

Instantly share code, notes, and snippets.

@robdecker
Last active November 2, 2019 01:51
Show Gist options
  • Save robdecker/11486274 to your computer and use it in GitHub Desktop.
Save robdecker/11486274 to your computer and use it in GitHub Desktop.
[Run two actions at the same time, fadein() & animate()] From http://stackoverflow.com/questions/14138446/run-two-actions-at-the-same-time-fadein-animate #jquery
$('#div').css({'display':'block', 'opacity':'0'})
.animate({'opacity':'1','height':'300px'}, 1500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment