Media Styles
Responsive images and videos ready to be seen on many devices.
Images
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
.
Circular images
This is a square image. Add the "circle" class to it to make it appear circular.
To make images appear circular, simply add
class="circle"
to them
This is a square image. Add the "circle" class to it to make it appear circular.
Videos
Responsive Embeds
To make your embeds responsive, merely wrap them with a containing div which has the class
video-container
Responsive Videos
To make your HTML5 Videos responsive just add the class
responsive-video
to the video tag.