Answers for "align images in same size bootsrap card"

C#
2

bootstrap 5 card image same height

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}
Posted by: Guest on March-09-2020
0

make all images same size bootstrap

.img-center {
  text-align: center; 
  border-radius: 8px;
  width: 100px;
  background-color: white;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.row {
  display: flex;
  margin: auto;
}
Posted by: Guest on March-15-2021

C# Answers by Framework

Browse Popular Code Answers by Language