settings

Media CSS

bookmark
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-imgto your image tag. It will now have a max-width: 100%and height:auto.

nature responsive image
<img class="responsive-img" src="cool_pic.jpg">
Circular image

To make images appear circular, simply add class="circle"to them

user profile picture
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-blockto your image tag.

nature center  image
<img class="center-block" src="cool_pic.jpg">
Videos

We provide a container for Embedded Videos that resizes them responsively.

Responsive Embeds

To make your embeds responsive, merely wrap them with a containing div which has the class video-container

<div class="video-container">    <iframe width="853" height="480" src="//www.youtube.com/embed/Q8TXgCzxEnw?rel=0" frameborder="0" allowfullscreen></iframe></div>
Responsive Videos

To make your HTML5 Videos responsive just add the class responsive-videoto the video tag.

<video width="100%" controls="">    <source src="https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" type="video/mp4"></video>