Animates all hidden elements to show slowly using jquery
HTML Code :
<!DOCTYPE html> <html> <head> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <style> p{ background: #ECEDF3; } </style> <meta charset="utf-8"> <title>Animates all hidden elements to show slowly</title> </head> <body> <button>Show it</button> <p style="display: none">Hello</p> </body> </html>
JavaScript Code :
$( "button" ).click(function() { $( "p" ).show( "slow" ); });
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
HTML Code :
JavaScript Code :