From dc3b09c8f38872ef8b792a4b551671a6105754cc Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 13 Jun 2020 10:00:50 +0000 Subject: composer update bootstrap --- .../bootstrap/site/docs/4.5/utilities/embed.md | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/docs/4.5/utilities/embed.md (limited to 'vendor/twbs/bootstrap/site/docs/4.5/utilities/embed.md') diff --git a/vendor/twbs/bootstrap/site/docs/4.5/utilities/embed.md b/vendor/twbs/bootstrap/site/docs/4.5/utilities/embed.md new file mode 100644 index 000000000..1f6868074 --- /dev/null +++ b/vendor/twbs/bootstrap/site/docs/4.5/utilities/embed.md @@ -0,0 +1,61 @@ +--- +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 ` + +{% endcapture %} +{% include example.html content=example %} + +## Aspect ratios + +Aspect ratios can be customized with modifier classes. By default the following ratio classes are provided: + +{% highlight html %} + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+{% endhighlight %} + +Within `_variables.scss`, you can change the aspect ratios you want to use. Here's an example of the `$embed-responsive-aspect-ratios` list: + +{% highlight scss %} +$embed-responsive-aspect-ratios: ( + (21 9), + (16 9), + (4 3), + (1 1) +) !default; +{% endhighlight %} -- cgit v1.2.3