Slide up the <div> element. - Javascript jQuery

Javascript examples for jQuery:Slide

Description

Slide up the <div> element.

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").slideUp();
});//from   ww  w . j  av  a2s  .  c o  m
</script>
</head>
<body>

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

</body>
</html>

Related Tutorials