From c26dede97f626b52b7bf8962ed55d1dbda86abe8 Mon Sep 17 00:00:00 2001 From: Hilmar R Date: Sun, 28 Feb 2021 21:06:16 +0100 Subject: get dev --- .../site/content/docs/4.6/utilities/embed.md | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md (limited to 'vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md') diff --git a/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md new file mode 100644 index 000000000..860ea1953 --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/4.6/utilities/embed.md @@ -0,0 +1,60 @@ +--- +layout: docs +title: Embeds +description: Create responsive video or slideshow embeds based on the width of the parent by creating an intrinsic ratio that scales on any device. +group: utilities +toc: true +--- + +## About + +Rules are directly applied to ` + +{{< /example >}} + +## Aspect ratios + +Aspect ratios can be customized with modifier classes. By default the following ratio classes are provided: + +```html + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+``` + +Within `_variables.scss`, you can change the aspect ratios you want to use. Here's an example of the `$embed-responsive-aspect-ratios` list: + +```scss +$embed-responsive-aspect-ratios: ( + (21 9), + (16 9), + (4 3), + (1 1) +) !default; +``` -- cgit v1.2.3