"jQuery animation"
Bootstrap 4.0.0 Snippet by Ademetru

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <button>Start Animation</button> <p>By default, all HTML elements have a static position, and cannot be moved. To manipulate the position, remember to first set the CSS position property of the element to relative, fixed, or absolute!</p> <div style="background:blue;height:100px;width:100px;position:absolute;"></div>
$(document).ready(function(){ $("button").click(function(){ $("div").animate({ left: '400px', opacity: '0.25', height: '150px', width: '150px' }); }); });

Related: See More


Questions / Comments: