Answers for "bootstrap thumbnail class"

CSS
3

bootstrap 4 center image

/* used mx-auto d-block */

<img class="mx-auto d-block" src="https://www.w3schools.com/bootstrap4/paris.jpg" alt="https://www.w3schools.com/bootstrap4/paris.jpg"/>
Posted by: Guest on October-18-2020
1

bootstrap img thumbnail

<img src="..." alt="..." class="img-thumbnail">
Posted by: Guest on June-05-2020
3

bootstrap Image thumbnails

In addition to our border-radius utilities, you can use 
.img-thumbnail to give an image a rounded 1px border appearance.

<img src="..." alt="..." class="img-thumbnail">
Posted by: Guest on October-23-2020
1

img class bootstrap

<!-- Circuler Image -->
 <img src="cinqueterre.jpg" class="img-circle" alt="Cinque Terre"> 
 
<!-- Image With some border-raduis property  -->
 <img src="cinqueterre.jpg" class="img-rounded" alt="Cinque Terre"> 
 
<!-- Image like thumbnail  -->
 <img src="cinqueterre.jpg" class="img-thumbnail" alt="Cinque Terre">
Posted by: Guest on March-15-2021
-1

bootstrap image size

.food1 img {
    width:100%;
    height: 230px;
}
Posted by: Guest on March-23-2020
0

bootstrap image size

.top1 {
    height:390px;
    background-color:#FFFFFF;
    margin-top:10px;
    overflow: hidden;
}

.top1 img {
    height:100%;
}
Posted by: Guest on March-23-2020

Browse Popular Code Answers by Language