Add to umage properties
<img src="nature.jpg" alt="Nature" class="responsive">
Add to CSS
.responsive {
width: 100%;
height: auto;
}
Restrict height or width
.responsive {
width: 100%
height: 300px;
}
Add to umage properties
<img src="nature.jpg" alt="Nature" class="responsive">
Add to CSS
.responsive {
width: 100%;
height: auto;
}
Restrict height or width
.responsive {
width: 100%
height: 300px;
}