Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Animated Labeling"
Bootstrap 3.1.0 Snippet by
swapnilchafale
3.1.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
5.2K
 
1 Fav
Post to Facebook
Tweet this
<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="row"><div class="col-md-4"><p class="b-box box-rt"><i>Label One</i></p> <p class="b-box box-rt"><i>Label Two</i></p> <p class="b-box box-rt"><i>Label Three</i></p></div> <div class="col-md-4"><img src="http://www.swapnilchafale.com/images/hire_Swapnil_chafale.gif" alt="enki-mobile" width="100%" style="padding-top:30px" class="aligncenter size-medium wp-image-2402"><br></div> <div class="col-md-4 "><p class="b-box box-lf"><i>Label Five</i></p> <p class="b-box box-lf"><i>Label Six</i></p> <p class="b-box box-lf"><i>Label Seven</i></p></div></div>
.row{display: -webkit-box;} .row:before, .row:after { display: table; content: " "; } .col-md-4 { width: 33.33333333333333%; text-align: center; } .row:before, .row:after { display: table; content: " "; } .b-box{ height: 60px; width: 230px; border: 2px solid #666; color: #666; text-align: center; margin: 30px auto; vertical-align: middle; position: relative; line-height: 22px; font-size: .9em; border-radius: 5px; display: table; padding: 0px 10px;} .box-rt::before{ content: ""; position: absolute; left: 228px; top: 50%; height: 1px; width: 0px; border-bottom: 2px solid #666; transition: all .3s ease; } .box-lf::after { content: ""; position: absolute; left: 0px; top: 50%; height: 1px; width: 0px; border-bottom: 2px solid #666; transition: all .3s ease; } .box-rt:hover::before{ content: ""; position: absolute; left: 228px; top: 50%; height: 1px; width: 130px; border-bottom: 2px solid #666; } .box-lf:hover::after { content: ""; position: absolute; left: -132px; top: 50%; height: 1px; width: 130px; border-bottom: 2px solid #666; } .b-box i{display: table-cell; vertical-align: middle;}
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76