css img scale-down code example
Example 1: scale down image css
img.resize {
width: 540px; /* you can use % */
height: auto;
}
Example 2: css img scale-down
/*for scaling down */
img {
max-height: 70px;
max-width: 70px;
object-fit: scale-down;
}