"Animatino hanger move (left to right)"
Bootstrap 3.3.0 Snippet by naimansari

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="wrapper"> <div class="line"></div> <div class="circle"> Left to Right </div> </div>
#wrapper{ margin-left:500px; width:300px; height:500px; background-color:#000; position:relative; } #wrapper .line { width:1px; height:350px; background:#ddd; position:absolute; left:100px; top:0; } #wrapper .circle { width:200px; height:200px; background:#ddd; border-radius:50%; color:#f33; line-height:200px; text-align:center; position:absolute; top:200px; left:0; animation: hanger 5s ease-in-out 2s infinite; } @keyframes hanger { 0%:{left:0px;} 25%{ left:200px;} 50%{ left:0px;} 75%{ left:-200px;} 100%{ left:0px;} }

Related: See More


Questions / Comments: