css how to make image smaller code example
Example: make an image smaller css
css:
.example-class {
width: 400px;
height: auto;
}
html:
<img class="example-class" src="example.jpg"/>
css:
.example-class {
width: 400px;
height: auto;
}
html:
<img class="example-class" src="example.jpg"/>