Last active
December 7, 2016 02:08
-
-
Save santosluiz/af1780a4e598f68a7aa63b86211f917a to your computer and use it in GitHub Desktop.
Inserção e Remoção das classes para realizar a animação.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$('.modal-open').click(function(){ | |
$('.overlay').addClass('modal-show'); | |
$('.modal').addClass('modal-show'); | |
$('.modal-content').addClass('modal-animate'); | |
}); | |
$('.modal-close').click(function(){ | |
$('.overlay').removeClass('modal-show'); | |
$('.modal').removeClass('modal-show'); | |
$('.modal-content').removeClass('modal-animate'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment