Images
Images can be styled in different ways using Materialize
Responsive Images
To make images resize responsively to page width, you can add the class responsive-img
to your image tag. It will now have a max-width: 100%
and height:auto
.
![nature responsive image](../assets/images/nature1.jpg)
<img class="responsive-img" src="cool_pic.jpg">
Circular image
To make images appear circular, simply add class="circle"
to them
![user profile picture](../assets/images/user1.jpg)
This is a square image. Add the "circle" class to it to make it appear circular.
Center Image
To make images center to page width, you can add the class center-block
to your image tag.
![nature center image](../assets/images/nature.jpg)
<img class="center-block" src="cool_pic.jpg">