• 17-10-2022, 22:10:24
    #1
    https://codepen.io/kobeumut/pen/JMxGKE

    Bu Sistemde Boyutu Farklı Olan Fotoğraf Bu Tasarımı Bozuyor Bunu Nasıl Engelleyebilirim Yardımlarınızı Bekliyorum
  • Kabul Edilen Cevap
    • .gallery > div > img {
      display: block;
      width: 200px;
      height:200px;
      object-fit:cover;

      transition: .1s transform;
      transform: translateZ(0); /* hack */
      }
  • 17-10-2022, 22:13:09
    #2
    <img src="resim.jpg" width="300" height="250" alt="resim"> boyutlandırın hocam .
  • 17-10-2022, 22:13:55
    #3
    OasisDijital adlı üyeden alıntı: mesajı görüntüle
    <img src="resim.jpg" width="300" height="250" alt="resim"> boyutlandırın hocam .
    Olmuyor hocam bu çözümü denedim
  • 17-10-2022, 22:14:55
    #4
    .parent { position: relative; overflow: hidden; //optionally set height and width, it will depend on the rest of the styling used }

    .child { position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;
    }
  • 17-10-2022, 22:16:15
    #5
    Developer
    Kullanmanız gereken masonry.

    https://masonry.desandro.com/
  • 17-10-2022, 22:19:03
    #6


    bu şekilde oluyor nasıl düzeltebilirim
  • 17-10-2022, 22:22:04
    #7
    Bu cevap, konu sahibi tarafından kabul edilebilir bir cevap olarak işaretlendi.
    .gallery > div > img {
    display: block;
    width: 200px;
    height:200px;
    object-fit:cover;

    transition: .1s transform;
    transform: translateZ(0); /* hack */
    }
  • 17-10-2022, 22:25:33
    #8
    thealiyasar adlı üyeden alıntı: mesajı görüntüle
    .gallery > div > img {
    display: block;
    width: 200px;
    height:200px;
    object-fit:cover;

    transition: .1s transform;
    transform: translateZ(0); /* hack */
    }
    Hocam Öncelikle Size Olmak Üzere Herkese Teşekkür Ederim
  • 17-10-2022, 22:26:22
    #9
    .gallery > div {
     width:200px;
     height:200px;
    }
    
    .gallery > div > img {
    width:100%;
    height:100%;
    object-fit:cover;
    }