"Ordered list by CSS3 "
Bootstrap 3.3.0 Snippet by gesper999

<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="container"> <div class="jumbotron"> <h1 class="lead">Ordered list by CSS3</h1> <p>You don't need to print numbers by php, js... and style them in any tags</p> <p><small>thank for rate</small></p> </div> </div> <div class="container"> <div class="row"> <div class="col-md-6"> <ol class="ordered-list"> <li> First </li> <li> Second </li> <li> Last </li> </ol> </div> </div> </div>
ol { counter-reset: myCouter; } li { list-style: outside none none; } li::before { content: counter(myCouter, decimal); counter-increment: myCouter; background: #2980b9 none repeat scroll 0 0; color: white; display: inline-block; height: 40px; line-height: 40px; margin: 5px 10px; text-align: center; width: 40px; }

Related: See More


Questions / Comments: