0
How do I resize my images in html?
3 Respostas
0
Thank You
0
Hi sylvia, there are various ways.
1) Through the bootstrap framework you can add the class img-responsive. This resizes the image to be in propotion with the parent div.
2) If you are coding css without any framework, you can assign a max-width to the image,then make it 100%.
e.g img{
max-width:120px;
height:auto;
width:100%;
}
0
or you can use,
img{
height:80px;
width:80px;
}