From 2a43e7e78a59c70e217383c12c9ef0482cabb163 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 16 Mar 2014 19:03:53 -0700 Subject: Break up docs into includes --- docs/_includes/components/responsive-embed.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/_includes/components/responsive-embed.html (limited to 'docs/_includes/components/responsive-embed.html') diff --git a/docs/_includes/components/responsive-embed.html b/docs/_includes/components/responsive-embed.html new file mode 100644 index 000000000..bf65599d7 --- /dev/null +++ b/docs/_includes/components/responsive-embed.html @@ -0,0 +1,23 @@ +
+

Responsive embed

+ +

Allow browsers to determine video or slideshow dimensions based on the width of their containing block by creating an intrinsic ratio that will properly scale on any device.

+

Rules are directly apply to <iframe>, <embed> and <object> elements, optionally use of an explicit descendant class .embed-responsive-item when you want to match the styling for other attributes.

+

Pro-Tip! You don't need to include frameborder="0" in your <iframe>s as we override that for you.

+
+
+ +
+
+{% highlight html %} + +
+ +
+ + +
+ +
+{% endhighlight %} +
-- cgit v1.2.3