"Different size thumbs"
Bootstrap 3.1.0 Snippet by muhittinbudak

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/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 ----------> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Strait"> <div class="container" style="font-family: 'Strait', sans-serif;"> <h1>Thumb cards</h1> <div class="row"> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/640/360?5" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://observation.org/media/photo/46744451.jpg" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/400/300?1" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/400/300?3" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/400/300?9" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/400/300?10" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> <div class="col-xs-12 col-sm-6 col-md-6 obpunsur"> <div class="thumbnail"> <a href="https://oyakbilgi.blogspot.com/p/obp.html"> <img src="https://picsum.photos/640/360?11" width="100%" alt="Gökbilimciler, Samanyolu'nun merkezindeki kara deliğin on yıllık gizemini çözdü" /> </a> <div class="caption"> <h3 class="uzunkelime">13 - Gökbilimciler, </h3> <h4 class="uzunkelime">Gokbilimciler, i.</h4> <small>08.10.2025</small> <div class="btn-group" style="margin-top: 10px;"> <a class="btn btn-lg btn-danger habertext strait" href="https://oyakbilgi.blogspot.com/p/obp.html"> Habere Git <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> </div> </div> <!-- row --> </div>
/* FLEXBOXşŞekilde düzgün sıralama */ .masonry-grid { display: flex; flex-wrap: wrap; padding: 0; margin: 0 -8px; /* padding'i dengelemek için negatif margin */ } /* Her kart - default mobile: tam genişlik */ .masonry-grid .obpunsur { width: 100%; padding: 8px; box-sizing: border-box; } /* Small ve üstü (>=768px) -> 2 sütun */ @media (min-width: 768px) { .masonry-grid .obpunsur { width: 50%; /* her kart yarı genişlik = 2 sütun */ } } /* İsteğe bağlı: Large ekranlarda 3 sütun */ @media (min-width: 1200px) { .masonry-grid .obpunsur { width: 33.333%; /* 3 sütun */ } } /* Kart görünümü */ .masonry-grid .thumbnail { display: block; width: 100%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.06); margin-bottom: 0; } /* Resimler */ .masonry-grid .thumbnail img { width: 100%; height: 200px; display: block; object-fit: cover; border-radius: 10px 10px 0 0; } /* Caption */ .masonry-grid .caption { padding: 15px; } .masonry-grid .caption h3 { font-size: 16px; margin-top: 0; margin-bottom: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .masonry-grid .caption h4 { font-size: 14px; color: #666; margin-bottom: 8px; } .masonry-grid .caption small { color: #999; } .btn-group { margin-top: 10px; } .caption { flex: 1; display: flex; flex-direction: column; padding: 15px; } .caption h3 { font-size: 18px; margin-top: 0; margin-bottom: 8px; font-weight: bold; } .caption h4 { font-size: 15px; margin: 0 0 10px 0; font-weight: normal; color: #666; } .caption small { display: block; margin-bottom: 10px; color: gray; } .caption p { flex-grow: 1; overflow: hidden; text-overflow: ellipsis; margin-bottom: 10px; } .caption .btn-group { margin-top: auto; } /* Responsive ince ayarlar (isteğe göre) */ @media (max-width: 480px) { .masonry-grid .obpunsur { padding: 6px; } } /*CARDS UNSUR BİTİS*/ #manset_p p { font-size:18px; }

Related: See More


Questions / Comments: