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
"div responsive card image"
Bootstrap 4.1.1 Snippet by
ali27001
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
33.5K
 
14 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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(https://cdn.beam.usnews.com/dims4/USNEWS/59f1d50/2147483647/thumbnail/970x647/quality/90/?url=http%3A%2F%2Fcom-usnews-beam-media.s3.amazonaws.com%2F28%2F21%2F37a23a5f40048594e7e1209a842d%2F150427-networking-stock.jpg );" class="image-grid-cover"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Etkinlikler</a> </div> </div> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(https://cdn.bolgegundem.com/d/news/333778.jpg );" class="entry-cover image-grid-cover has-image"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Düğünler</a> </div> </div> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(https://www.trthaber.com/resimler/218000/218798.jpg );" class="entry-cover image-grid-cover has-image"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Gezi / Tur</a> </div> </div> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(http://www.technocrazed.com/wp-content/uploads/2015/12/Airplane-wallpaper-112-640x360.jpg);" class="entry-cover image-grid-cover has-image"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Havalimanı Transferi</a> </div> </div> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(https://img-s2.onedio.com/id-5738f74cb6efafb314a46f07/rev-0/w-600/h-300/s-d707c9ec5af8f66dc5506a2796ac14fce1fbb35b.jpg );" class="entry-cover image-grid-cover has-image"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Günlük Seyahat</a> </div> </div> <div class="col-12 col-sm-6 col-md-4 image-grid-item"> <div style="background-image: url(https://image.stern.de/8205460/16x9-940-529/3c6ed305ea6e6f63c0454fda4dbc5d02/hx/pic-grand-calfornia-2018--9-.jpg );" class="entry-cover image-grid-cover has-image"> <a href="#" class="image-grid-clickbox"></a> <a href="#" class="cover-wrapper">Karavan Kiralama </a> </div> </div> </div> </div>
.image-grid-cover { width: 100%; background-size: cover; min-height: 180px; position: relative; margin-bottom: 30px; text-shadow: rgba(0,0,0,.8) 0 1px 0; border-radius: 4px; } .image-grid-clickbox { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: block; width: 100%; height: 100%; z-index: 20; background: rgba(0,0,0,.45); } .cover-wrapper { font-size: 18px; text-align: center; display: block; color: #fff; text-shadow: rgba(0,0,0,.8) 0 1px 0; z-index: 21; position: relative; top: 80px; } a, a:focus, a:hover { text-decoration: none; outline: 0; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76