From 9866053f0ce44721c11990c9f9407e7428757c99 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 10 May 2019 14:21:36 +0200 Subject: update bootstrap to version 4.3.1 --- .../bootstrap/site/docs/4.3/utilities/embed.md | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 vendor/twbs/bootstrap/site/docs/4.3/utilities/embed.md (limited to 'vendor/twbs/bootstrap/site/docs/4.3/utilities/embed.md') diff --git a/vendor/twbs/bootstrap/site/docs/4.3/utilities/embed.md b/vendor/twbs/bootstrap/site/docs/4.3/utilities/embed.md new file mode 100644 index 000000000..1f6868074 --- /dev/null +++ b/vendor/twbs/bootstrap/site/docs/4.3/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