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
"css contact info box"
Bootstrap 4.1.1 Snippet by
PEPther
4.1.1
contact
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
182
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="container"> <div class="box"> <div class="icon"><i class="fa fa-map-marker" aria-hidden="true"></i></div> <div class='details'><h3>Plaats</h3></div> </div> <div class="box"> <div class="icon"><i class="fa fa-phone" aria-hidden="true"></i></div> <div class='details'><h3>Telefoon nummer</h3></div> </div> <div class="box"> <div class="icon"><i class="fa fa-envelope" aria-hidden="true"></i></div> <div class='details'><h3>info@gmail.com</h3></div> </div> </div>
body { margin:0; padding:0; font-family:sans-serif; background:#002b38; } .container { width:900px; margin:250px auto 0; display:flex; } .container .box { position:relative; width: 300px; height:100px; box-sizing:border-box; text-align:center; margin:0 10px; background:#00171d; overflow:hidden; border-radius:4px; box-shadow:0 0 0 2px rgba(0,7,10,1); } .container .box .icon { width:100%; height:100%; background:#00171d; transition: 0.5s; } .container .box .icon .fa { font-size: 4em; line-height:100px; color: #0ff; } .container .box:hover .icon { transform:scale(0); } .container .box .details { position:absolute; top:0; left:0; width:100%; height:100%; background:#03a9f4; transition:0.5s; transform:scale(2); opacity:0; } .container .box:hover .details { transform:scale(1); opacity:1; } .container .box .details h3 { margin:0; padding:0; line-height:100px; font-size:24px; color:#fff; } .container .box .details:nth-child(2) .details { background:#e91e63; } .container .box .details:nth-child(2) .details { background:#607d8b; }
Related:
See More
Template
Paper Dashboard Pro
141.9K
51
Contact Form
203.3K
56
Bootstrap Contact Form
109.2K
47
Bootstrap Contact Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76