"Animation top to down"
Bootstrap 3.3.0 Snippet by kiibriia

<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 class="wrapper"> <div class="line"></div> <div class="circle-2"> see </div> <div class="circle"> see </div> </div>
.wrapper { text-align:center; font-size:20px; color:#fff; position:relative; } /* .line { width:1px; height:100px; color:#000; background:#000; margin-left:250px; animation: line 5s ease-in-out 2s infinite; } */ .circle-2 { width: 1px; height: 200px; background: red; position:absolute; top:0; left:250px; } .circle { line-height:100px; width: 100px; border-radius:50px; height: 100px; background: red; position: relative; animation: mymove 5s ease-in-out 2s infinite; position:absolute; top:100px; left:200px; } /* Chrome, Safari, Opera */ @keyframes line { 0% { height:100px} 50% { height:200px} 100% { height:100px} } @keyframes mymove { 0% { top:100px} 50% { top:200px} 100% { top:100px} }

Related: See More


Questions / Comments: