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_grid_customization_gattsu_v2"
Bootstrap 3.3.0 Snippet by
Gattsu
3.3.0
grid
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.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> <!-- row --> <div> <!-- row --> <!-- main left image --> <div class="col-md-6 nopadding b-padding shop-cats-box image-large"> <div class="hero-image"></div> </div> <!-- end of other main image --> <div class="col-md-6 nopadding b-padding"> <a href="/home-decoration"> <div class="square img_1-1 home-block"> <div class="text">PROIECT REALIZAT</div> </div> </a> <a href="/lighting"> <div class="square img_1-2 home-block"> <div class="text">BAR CATERING</div> </div> </a> <!-- 2nd row verticaly centered images in square columns --> <a href="/furniture"> <div class="square img_2-1 home-block"> <div class="text">MOBILIER LUMINAT</div> </div> </a> <!-- video embed in right-bottom-image in CSS grid --> <a href="/jewellery"> <div class="square img_2-2 home-block"> <div class="embed-responsive embed-responsive-4by3"> <iframe class="embed-responsive-item" src="//www.youtube.com/embed/Tdb_vxoUD4w"frameborder="0" allowfullscreen></iframe> </div> </a> </div> </div> </div>
/* Latest compiled and minified CSS included as External Resource*/ div { display: block; } .b-padding { padding-left: 0px ; padding-right: 0px ; } .shop-cats-box { background-image: url(http://drapaje.ro/pub/media/wysiwyg/talazurile/pavilion_zi.jpg); float: left; position: relative; width: 50%; padding-bottom: 32.5%; background-position: center center; background-repeat: no-repeat; background-size: cover; } .square { float: left; position: relative; width: 50%; padding-bottom: 32.5%; background-position: center center; background-repeat: no-repeat; background-size: cover; } .image-large { border: 1px solid #000; } .img_1-1 { background-image: url(http://drapaje.ro/pub/media/wysiwyg/talazurile/proiect.jpg); } .img_1-1, .img_1-2, .img_7-1, .img_7-2 { border-top: 1px solid #000; border-bottom: 1px solid #000; border-right: 1px solid #000; } .img_1-2 { background-image: url(http://drapaje.ro/pub/media/wysiwyg/talazurile/bar.jpg); } .img_2-1 { background-image: url(http://drapaje.ro/pub/media/wysiwyg/talazurile/noaptea.jpg); } .img_2-2 { background-image: url(); } .text { background: rgba(255,255,255,0.5); position: absolute; top: 50%; left: 40%; padding: 1rem; transform: translateY(-50%); text-align: center; font-family: 'Cormorant Garamond', serif; font-style: normal; font-size: 2vmin; color: black; font-weight: 400; } .video-container { float: left; position: relative; width: 50%; height: 0; padding-bottom: 32.5%; } .youtube-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
Related:
See More
Free Template
Navbar With Icons
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76