Fluid Media
Basecoat has classes to make all your medias flexible.
If you want to make all images, videos, and map embeds flexible use the body class of media-fluid
. Images will automatically be fluid and as wide as their parent containers. Wrap any maps or videos in a container class of media-container
and be sure to strip away any of the hard coded width and height attributes on your iframes
or embeds
.
If you want to leave default widths on media don’t the body class above, instead target individual images by using the img-fluid
in the <img>
element.
Additionally you can wrap any videos or map embeds with a container element and apply the media-fluid
class to it to target just those items: