Embeds
Rules are directly applied to , <embed>
, <video>
, and <object>
elements; optionally use an explicit descendant class when you want to match the styling for other attributes.
Wrap any embed like an <iframe>
in a parent element with and an aspect ratio. The .embed-responsive-item
isn’t strictly required, but we encourage it.
Aspect ratios can be customized with modifier classes. By default the following ratio classes are provided: