Slide down the <div> element in duration of 3000 milliseconds. - Javascript jQuery

Javascript examples for jQuery:Slide

Description

Slide down the <div> element in duration of 3000 milliseconds.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("div").slideDown(3000);
});//from  w w w .  j a v  a  2s  .  co  m
</script>
</head>
<body>

<div style="width:80px;height:80px;display:none;background-color:red;"></div>

</body>
</html>

Related Tutorials