ho to make image smaller in css 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"/>