"时间轴"
Bootstrap 3.1.0 Snippet by wuxincheng

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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="container"> <div class="page-header"> <h1 id="">时间轴</h1> </div> <div id="timeline"><div class="row timeline-movement timeline-movement-top"> <div class="timeline-badge timeline-future-movement"> <a href="#"> <span class="glyphicon glyphicon-plus"></span> </a> </div> <div class="timeline-badge timeline-filter-movement"> <a href="#"> <span class="glyphicon glyphicon-time"></span> </a> </div> </div> <div class="row timeline-movement"> <div class="timeline-badge"> <span class="timeline-balloon-date-day">18</span> <span class="timeline-balloon-date-month">APR</span> </div> <div class="col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-11"> <div class="timeline-panel credits"> <ul class="timeline-panel-ul"> <li><span class="importo"><img src="http://img01.36krcnd.com/thumbs/w_720/h_480/wp-content/uploads/2011/11/github-profile1.png" /></span></li> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> <div class="col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-offset-1 col-sm-11"> <div class="timeline-panel debits"> <ul class="timeline-panel-ul"> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> </div> <!--due --> <div class="row timeline-movement"> <div class="timeline-badge"> <span class="timeline-balloon-date-day">13</span> <span class="timeline-balloon-date-month">APR</span> </div> <div class="col-sm-offset-6 col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-offset-1 col-sm-11"> <div class="timeline-panel debits"> <ul class="timeline-panel-ul"> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> <div class="col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-11"> <div class="timeline-panel credits"> <ul class="timeline-panel-ul"> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> </div> <div class="row timeline-movement"> <div class="timeline-badge"> <span class="timeline-balloon-date-day">10</span> <span class="timeline-balloon-date-month">APR</span> </div> <div class="col-sm-offset-6 col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-offset-1 col-sm-11"> <div class="timeline-panel debits"> <ul class="timeline-panel-ul"> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> <div class="col-sm-6 timeline-item"> <div class="row"> <div class="col-sm-11"> <div class="timeline-panel credits"> <ul class="timeline-panel-ul"> <li><span class="importo">Mussum ipsum cacilds</span></li> <li><span class="causale">Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span> </li> <li><p><small class="text-muted"><i class="glyphicon glyphicon-time"></i> 11/09/2014</small></p> </li> </ul> </div> </div> </div> </div> </div> </div> </div>
html,body { font-family: Arial, 微软雅黑, 宋体, Geneva, Tahoma, sans-serif; } #timeline { list-style: none; position: relative; } #timeline:before { top: 0; bottom: 0; position: absolute; content: " "; width: 2px; background-color: #4997cd; left: 50%; margin-left: -1.5px; } #timeline .clearFix { clear: both; height: 0; } #timeline .timeline-badge { color: #fff; width: 50px; height: 50px; font-size: 1.2em; text-align: center; position: absolute; top: 20px; left: 50%; margin-left: -25px; background-color: #4997cd; z-index: 100; border-top-right-radius: 50%; border-top-left-radius: 50%; border-bottom-right-radius: 50%; border-bottom-left-radius: 50%; } #timeline .timeline-badge span.timeline-balloon-date-day { font-size: 1.4em; } #timeline .timeline-badge span.timeline-balloon-date-month { font-size: .7em; position: relative; top: -10px; } #timeline .timeline-badge.timeline-filter-movement { background-color: #ffffff; font-size: 1.7em; height: 35px; margin-left: -18px; width: 35px; top: 40px; } #timeline .timeline-badge.timeline-filter-movement a span { color: #4997cd; font-size: 1.3em; top: -1px; } #timeline .timeline-badge.timeline-future-movement { background-color: #ffffff; height: 35px; width: 35px; font-size: 1.7em; top: -16px; margin-left: -18px; } #timeline .timeline-badge.timeline-future-movement a span { color: #4997cd; font-size: .9em; top: 2px; left: 1px; } #timeline .timeline-movement { border-bottom: dashed 1px #4997cd; position: relative; } #timeline .timeline-movement.timeline-movement-top { height: 60px; } #timeline .timeline-movement .timeline-item { padding: 20px 0; } #timeline .timeline-movement .timeline-item .timeline-panel { border: 1px solid #d4d4d4; border-radius: 3px; background-color: #FFFFFF; color: #666; padding: 10px; position: relative; -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175); } #timeline .timeline-movement .timeline-item .timeline-panel .timeline-panel-ul { list-style: none; padding: 0; margin: 0; } #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul { text-align: right; } #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li { color: #666; } #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li span.importo { color: #468c1f; font-size: 1.3em; } #timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul { text-align: left; } #timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul span.importo { color: #e2001a; font-size: 1.3em; }

Related: See More


Questions / Comments: