"bootstrap grid masonry with Css all bootstrap version"
Bootstrap 2.3.2 Snippet by djary

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- More info --> <!-- http://www.nextbootstrap.com/2016/01/masonry-layout-for-bootstrap-3.html --> <!-- https://gist.github.com/premregmi/b8162eebe67e467b147c --> <div class="container"> <div class="col-sm-12"> <div class="masonry masonry-columns-3"> <div class="masonry-item"> <div class="media"> <img src="http://placehold.it/350x150" class="img-responsive center-block" alt=""> </div> <h2 class="post-title">Getting Bootstrap Tabs to Play Nice with Masonry</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>This is my template for using Masonry 3 with Bootusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrstrap, Desandro Masonry & Twitter Bootstrap 3. How to use responsive twitter bootstrap & masonry together</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <div class="media"> <img src="http://placehold.it/450x150" class="img-responsive center-block" alt=""> </div> <h2 class="post-title">Bootstrap Masonry</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>Masonry CSS with Bootstrap, Build a Dynamic Grid with Salvattore and Bootstrap, Masonry with Bootstrap 3, How to create the masonry effects with just bootstrap 3 grid</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <div class="media"> <img src="http://placehold.it/550x150" class="img-responsive center-block" alt=""> </div> <h2 class="post-title">Masonry CSS with Bootstrap</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>Bootstrap Masonry example snippets with CSS, Javascript and HTML. ... Example of using CSS only for masonry / isotope style layout with Bootstrap panels.</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <div class="media"> <img src="http://placehold.it/450x250" class="img-responsive center-block" alt=""> </div> <h2 class="post-title">Build a Dynamic Grid with Bootstrap</h2> <h6 class="post-info">October-8 2015 : Pusing Masonry 3 with Bootstrap, Desandrosted by Admin</h6> <p>Bootstrap snippet Example of usingusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandrusing Masonry 3 with Bootstrap, Desandr CSS only for masonry / isotope style layout with Bootstrap panels.</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <!-- No Media --> <h2 class="post-title">Masonry with Bootstrap 3</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>In conclusion remember that Masonry was born and remains a JavaScript grid layout library, so even if you can make it work with CSS</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <div class="media"> <img src="http://placehold.it/450x350" class="img-responsive center-block" alt=""> </div> <h2 class="post-title">How to create the masonry</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>Getting twitter bootstrap's responsive layout and masonry to play alongside each other is pretty simple.</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> <div class="masonry-item"> <!-- No Media --> <h2 class="post-title">Masonry & Twitter Bootstrap 3</h2> <h6 class="post-info">October-8 2015 : Posted by Admin</h6> <p>For this post I created an example of minimalistic layout for a blog/portfolio using both Bootstrap and Masonry. Why it should be useful?</p> <a href="" title="" class="read-more">Read More</a> <div class="tag-comment"> <span class="pull-left"><i class="fa fa-tags"></i> technology, web</span> <span class="pull-right"><i class="fa fa-comments"></i> no comments</span> </div> </div> </div> </div> </div> <!-- More info --> <!-- http://www.nextbootstrap.com/2016/01/masonry-layout-for-bootstrap-3.html --> <!-- https://gist.github.com/premregmi/b8162eebe67e467b147c -->
/*==================================== = masonry Page = ====================================*/ .masonry{ display: block; -webkit-column-gap: 2.25rem; -moz-column-gap: 2.25rem; column-gap: 12.25rem; } /* 5 columns */ .masonry.masonry-columns-5{ -webkit-column-count: 5; -moz-column-count: 5; column-count: 5; } @media(max-width: 1170px){ .masonry.masonry-columns-5{ -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; } } /*-4 columns------*/ .masonry.masonry-columns-4{ -webkit-column-count: 4; -moz-column-count: 4; column-count: 4; } /*-3 columns------*/ .masonry.masonry-columns-3{ -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; } /*-2 columns------*/ .masonry.masonry-columns-2{ -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; } /*-1 columns------*/ .masonry.masonry-columns-1{ -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; } /*--------Responsive---------*/ @media(max-width: 991px){ .masonry.masonry-columns-4, .masonry.masonry-columns-5{ -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; } } @media(max-width: 767px){ .masonry.masonry-columns-4, .masonry.masonry-columns-5, .masonry.masonry-columns-3{ -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; } } @media(max-width: 540px){ .masonry.masonry-columns-4, .masonry.masonry-columns-5, .masonry.masonry-columns-3, .masonry.masonry-columns-2{ -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; } } .masonry .masonry-item{ display: inline-block !important; width: 100% !important; max-width: 100% !important; position: relative; display: block; padding: 3px; background-color: #fff; border: 1px solid #e5e5e5; border-radius: .25rem; float: none !important; margin-right: 0 !important; margin-bottom: 0 !important; margin-bottom: 2.25rem !important; } .masonry .masonry-item { display: inline-block; margin-bottom: 20px; width: 100%; padding: 10px; border: 1px solid transparent; transition: all 0.4s ease-in-out; } .masonry .masonry-item:hover { border: 1px solid #f0f0f0; } .masonry .masonry-item .post-title { font-size: 20px; } .masonry .masonry-item .post-info { color: #999; text-transform: uppercase; } .masonry .masonry-item p { color: #666; } .masonry .masonry-item .read-more { color: #27c2aa; } .masonry .masonry-item .tag-comment { border-top: 1px solid #f0f0f0; margin-top: 10px; padding: 5px 0; color: #999; } /*===== End of masonry Page ======*/

Related: See More


Questions / Comments:

This is good,I could customize the template easily, Thanks...

Shobi () - 7 years ago - Reply 0