responsive thumnail bootstrap code example

Example 1: bootstrap class align center image

class="mx-auto d-block"

Example 2: bootstrap image size

.food1 img {
    width:100%;
    height: 230px;
}

Example 3: bootstrap image size

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

.top1 img {
    height:100%;
}

Example 4: responsive svg with bootstrap

<svg version="1.1" viewBox="0 0 500 500">
	<circle fill="#F7941E" stroke="#231F20" stroke-width="10" 
	cx="250" cy="250" r="200" opacity="0.6" />
</svg>

Tags:

Html Example