Answers for "fixed image size bootstrap"

CSS
2

bootstrap class align center image

class="mx-auto d-block"
Posted by: Guest on May-01-2020
1

bootstrap profile picture

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

bootstrap image size

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

responsive svg with bootstrap

.svg-container { 
	display: inline-block;
	position: relative;
	width: 100%;
	padding-bottom: 100%; 
	vertical-align: middle; 
	overflow: hidden; 
}
Posted by: Guest on September-24-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