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
" Граница"
Bootstrap 3.3.0 Snippet by
ASDAFF
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.1K
 
0 Fav
Post to Facebook
Tweet this
<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="row"> <div class="image-effect-border"> <div class="share-layer"> <a href="#" class="share-button share-via-vk"> <i class="fa fa-vk"></i> Вк </a> <a href="#" class="share-button share-via-facebook"> <i class="fa fa-facebook"></i> Fb </a> <a href="#" class="share-button share-via-twitter"> <i class="fa fa-twitter"></i> Twitter </a> </div> <div class="image-layer"> <img src="http://storage1.static.itmages.ru/i/15/0627/h_1435433406_1759491_c896b21dcf.jpg" width="500" alt="California surf"> </div> </div> </div> </div>
@import url(http://fortawesome.github.io/Font-Awesome/assets/font-awesome/css/font-awesome.css); .container{ text-align: center; font: bold 14px sans-serif; } .image-effect-border { width: 500px; height: 300px; overflow: hidden; position: relative; border: 5px solid #DDD; margin: 0 auto; background-color: rgba(0,0,0,0.1); -webkit-transition: 1s; transition: 1s; } .image-effect-border:hover{ box-shadow: 0 0 5px 2px rgba(0,0,0,0.4); border: 5px solid #444; } .image-effect-border .image-layer{ position: absolute; top:0; left:0; height: 300px; overflow: hidden; -webkit-transition: 0.4s ease; transition: 0.4s ease; -webkit-transform: scale(1.1); transform: scale(1.1); z-index: 5; } .image-effect-border:hover .image-layer{ -webkit-transform: scale(1); transform: scale(1); } .share-layer{ position: absolute; top:0; left: 0; background-color: rgba(0,0,0,0.4); width: 100%; height: 100%; opacity: 0; -webkit-transition: 0.4s; transition: 0.4s; z-index: 10; } .image-effect-border:hover .share-layer{ opacity: 1; } .share-button{ display: inline-block; text-decoration: none; color: #ffffff; padding: 12px; width: 90px; border-radius: 2px; margin: 125px 10px; } .share-button:hover{ color: #ffffff; text-decoration: none; } .share-via-vk{ background-color:#4C75A3; } .share-via-facebook{ background-color:#3b5998; } .share-via-twitter{ background-color:#00aced; }
Related:
See More
Free Template
Paper Dashboard Angular
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76