"Text Divider"
Bootstrap 3.3.0 Snippet by Aix77

<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"> <br> <div class="well"> <h2 class="text-divider"><span>Create your snippet's HTML</span></h2> <p> add "text-divider" class and SPAN around your text to create a pseudo heading divider. </p> <p> the style colors I used are setup for .well so you might want to setup different color rules. </p> </div> </div>
.text-divider{margin: 2em 0; line-height: 0; text-align: center;} .text-divider span{background-color: #f5f5f5; padding: 1em;} .text-divider:before{ content: " "; display: block; border-top: 1px solid #e3e3e3; border-bottom: 1px solid #f7f7f7;}

Related: See More


Questions / Comments: