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
"product "
Bootstrap 3.0.0 Snippet by
vovamazepa
3.0.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
887
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="fullwidth"> <div class="gallery"> <figure class="item"> <div class="img-wrap"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/46992/cl-01.png" alt="" /></div> <figcaption class="caption"> <h3>Luminor Marina 1950<br/>3 days automatic ACCIAIO</h3> <a class="btn-buy" href="#">Buy</a> <a class="btn-details" href="#">See details</a> </figcaption> </figure> <figure class="item"> <div class="img-wrap"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/46992/cl-02.png" alt="" /></div> <figcaption class="caption"> <h3>Radiomir 1940 Acciaio</h3> <a class="btn-buy" href="#">Buy</a> <a class="btn-details" href="#">See details</a> </figcaption> </figure> <figure class="item"> <div class="img-wrap"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/46992/cl-03.png" alt="" /></div> <figcaption class="caption"> <h3>L'egiziano</h3> <a class="btn-buy" href="#">Buy</a> <a class="btn-details" href="#">See details</a> </figcaption> </figure> <figure class="item"> <div class="img-wrap"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/46992/cl-04.png" alt="" /></div> <figcaption class="caption"> <h3>Luminor Chrono 2000</h3> <a class="btn-buy" href="#">Buy</a> <a class="btn-details" href="#">See details</a> </figcaption> </figure> <figure class="item"> <div class="img-wrap"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/46992/cl-05.png" alt="" /></div> <figcaption class="caption"> <h3>Radiomir 1940<br/>Chronograph Oro Rosso</h3> <a class="btn-buy" href="#">Buy</a> <a class="btn-details" href="#">See details</a> </figcaption> </figure> </div> </div>
@import url(http://fonts.googleapis.com/css?family=Raleway:400,700); *, *:before, *:after { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; height: 100%; } body { font-family: 'Raleway', sans-serif; line-height: 160%; font-size: 100%; } .fullwidth { width: 100%; padding-top: 4rem; background-color: #d9d9d9; } .gallery { width: 100%; max-width: 60rem; margin-right: auto; margin-left: auto; padding-right: 2rem; padding-bottom: 4rem; padding-left: 2rem; } .gallery .item { width: 100%; padding-top: 2rem; padding-bottom: 2rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap; } @media (max-width: 40rem) { .gallery .item { padding-top: 4rem; padding-bottom: 4rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; text-align: center; } } .gallery .item:nth-child(even) { -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; } .gallery .item:nth-child(even) .img-wrap { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; } @media (max-width: 40rem) { .gallery .item:nth-child(even) .img-wrap { -webkit-box-ordinal-group: 1; -ms-flex-order: 0; order: 0; } } .gallery .item:nth-child(even) caption { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; } @media (max-width: 40rem) { .gallery .item:nth-child(even) caption { -webkit-box-ordinal-group: 1; -ms-flex-order: 0; order: 0; } } .gallery .item .img-wrap { position: relative; padding: 0.8rem; width: 50%; -ms-flex-preferred-size: 50%; flex-basis: 50%; border-radius: 50%; } @media (max-width: 40rem) { .gallery .item .img-wrap { width: 80%; -ms-flex-preferred-size: 80%; flex-basis: 80%; } } .gallery .item .img-wrap:before, .gallery .item .img-wrap:after { content: ''; position: absolute; border-radius: 50%; -webkit-transform: rotate(-90deg); transform: rotate(-90deg); } .gallery .item .img-wrap:before { top: 1px; right: 1px; bottom: 1px; left: 1px; border-top: 1px solid #D4AF37; border-right: 1px solid transparent; border-bottom: 1px solid #D4AF37; border-left: 1px solid transparent; } .gallery .item .img-wrap:after { top: 0; right: 0; bottom: 0; left: 0; border-top: 3px solid #d9d9d9; border-right: 3px solid transparent; border-bottom: 3px solid #d9d9d9; border-left: 3px solid transparent; -webkit-transition: -webkit-transform 0.5s; transition: -webkit-transform 0.5s; transition: transform 0.5s; transition: transform 0.5s, -webkit-transform 0.5s; } .gallery .item .img-wrap img { display: block; width: 100%; height: auto; padding: 1.5rem; border-radius: 50%; background-color: #e6e6e6; background-image: -webkit-radial-gradient(#e6e6e6, #cccccc 80%); background-image: radial-gradient(#e6e6e6, #cccccc 80%); background-size: 130% 130%; background-position: 0 0; background-repeat: no-repeat; box-shadow: inset 2px 2px 5px #b3b3b3, 2px 2px 15px #e6e6e6, inset 15px 15px 50px rgba(0, 0, 0, 0.1); } .gallery .item:hover .img-wrap:after { -webkit-transform: rotate(0deg); transform: rotate(0deg); } .gallery .item:nth-child(1) .img-wrap, .gallery .item:nth-child(5) .img-wrap { width: 30%; -ms-flex-preferred-size: 30%; flex-basis: 30%; } @media (max-width: 40rem) { .gallery .item:nth-child(1) .img-wrap, .gallery .item:nth-child(5) .img-wrap { width: 60%; -ms-flex-preferred-size: 60%; flex-basis: 60%; } } .gallery .item:nth-child(2) .img-wrap, .gallery .item:nth-child(4) .img-wrap { width: 40%; -ms-flex-preferred-size: 40%; flex-basis: 40%; } @media (max-width: 40rem) { .gallery .item:nth-child(2) .img-wrap, .gallery .item:nth-child(4) .img-wrap { width: 70%; -ms-flex-preferred-size: 70%; flex-basis: 70%; } } .gallery .item .caption { padding-right: 1rem; padding-left: 1rem; position: relative; color: #999999; } @media (max-width: 40rem) { .gallery .item .caption { padding-top: 1rem; } } .gallery .item .caption h3 { position: relative; margin-bottom: 1rem; font-weight: 400; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; } .gallery .item .caption a { display: inline-block; position: relative; padding: 0.3rem 1rem; color: inherit; text-decoration: none; border: 1px solid #b3b3b3; border-radius: 3px; } .gallery .item .caption .btn-buy { margin-right: 1rem; color: #D4AF37; border: 1px solid #D4AF37; letter-spacing: 1px; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76