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
" Двери 3D"
Bootstrap 3.3.0 Snippet by
ASDAFF
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
1.0K
 
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-3d-doors"> <div class="back-image"> <img src="http://storage1.static.itmages.ru/i/15/0627/h_1435431990_9882131_c46b482909.jpg" width="500" alt="California surf"> </div> <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> Facebook </a> <a href="#" class="share-button share-via-twitter"> <i class="fa fa-twitter"></i> Twitter </a> <div class="white-line"></div> <div class="left-door"> <div class="image-left"> <img src="http://storage1.static.itmages.ru/i/15/0627/h_1435431990_9882131_c46b482909.jpg" width="500" alt="California surf"> </div> </div> <div class="right-door"> <div class="image-right"> <img src="http://storage1.static.itmages.ru/i/15/0627/h_1435431990_9882131_c46b482909.jpg" width="500" alt="California surf"> </div> </div> </div> </div> </div>
.container{ text-align: center; font: bold 14px sans-serif; } .image-effect-3d-doors{ width: 500px; height: 300px; position: relative; margin: 0 auto; -webkit-perspective: 500px; perspective: 500px; } .back-image{ position: absolute; left: 0; top:0; -webkit-filter: blur(1px) grayscale(100%); width: 100%; height: 300px; overflow: hidden; -webkit-transition: 0.7s; transition: 0.7s; -webkit-transform: scale(1.07); transform: scale(1.07); } .image-effect-3d-doors:hover .back-image{ box-shadow: none; -webkit-transform: scale(1); transform: scale(1); } .image-effect-3d-doors .left-door{ position: absolute; display: inline-block; left: 0; top:0; -webkit-transform-origin: center left; transform-origin: center left; -webkit-transition: 0.7s ease-out; transition: 0.7s ease-out; z-index: 10; } .image-effect-3d-doors:hover .left-door{ -webkit-transform: rotateY(-180deg) scale3d(0.6, 1, 100); transform: rotateY(-180deg) scale3d(0.6, 1, 100); } .image-effect-3d-doors .right-door{ position: absolute; display: inline-block; left: 250px; top:0; -webkit-transform-origin: center right; transform-origin: center right; -webkit-transition: 0.7s ease-out; transition: 0.7s ease-out; z-index: 10; } .image-effect-3d-doors:hover .right-door{ -webkit-transform: rotateY(180deg) scale3d(0.6, 1, 100); transform: rotateY(180deg) scale3d(0.6, 1, 100); } .image-effect-3d-doors .image-left, .image-effect-3d-doors .image-right{ width: 250px; height: 300px; overflow: hidden; -webkit-transition: 0.7s; transition: 0.7s; } .image-effect-3d-doors .image-right img{ margin-left: -250px; } .image-effect-3d-doors:hover .image-left, .image-effect-3d-doors:hover .image-right{ -webkit-filter: blur(2px); } .image-effect-3d-doors .share-button{ display: inline-block; text-decoration: none; color: #ffffff; padding: 12px; width: 90px; border-radius: 2px; margin: 125px 10px; position: relative; z-index: 5; -webkit-transition: 0.5s; transition: 0.5s; opacity: 0; } .image-effect-3d-doors:hover .share-button{ -webkit-transition-delay: 0.6s; transition-delay: 0.6s; opacity: 1; } .share-via-vk{ background-color:#4C75A3; } .share-via-facebook{ background-color:#3b5998; } .share-via-twitter{ background-color:#00aced; } .image-effect-3d-doors .white-line{ border-bottom: 2px solid #fff; top: 190px; left:250px; position: absolute; z-index: 5; width: 0; -webkit-transition: 0.7s; transition: 0.7s; } .image-effect-3d-doors:hover .white-line{ transform: translateX(-200px); -webkit-transform: translateX(-200px); width: 400px; -webkit-transition-delay: 0s; transition-delay: 0s; }
Related:
See More
Free Template
Paper Dashboard React
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76