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
"GRID CSS VIDEO - hero video, 4 img grid right"
Bootstrap 3.3.0 Snippet by
Gattsu
3.3.0
grid
Preview
HTML
CSS
View Full Screen
Fork
Fork this
15.1K
 
3 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> <!-- row --> <div> <!-- row --> <!-- main left image --> <div class="col-md-6 nopadding b-padding video-container image-large"> <iframe class="youtube-video" src="//www.youtube.com/embed/Tdb_vxoUD4w"frameborder="0" allowfullscreen></iframe> </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">ATMOSFERA DE ZI</div> </div> </a> <a href="/jewellery"> <div class="square img_2-2 home-block"> <div class="text">MOBILIER LUMINAT</div> </div> </a> </div> </div> </div>
/* Latest compiled and minified CSS included as External Resource*/ body { color: #777; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-style: normal; font-weight: 400; line-height: 1.4; font-size: 1.3rem; } div { display: block; } .b-padding { padding-left: 0px !important; padding-right: 0px !important; } .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/sezlong.jpg); } .img_2-2 { background-image: url(http://drapaje.ro/pub/media/wysiwyg/talazurile/noaptea.jpg); } .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%; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76