From 29e495f03cda05fd7fc362420ae86619c27b582e Mon Sep 17 00:00:00 2001 From: Fabien Date: Mon, 30 Dec 2013 05:52:00 +0100 Subject: Add Embed responsive utility --- css.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'css.html') diff --git a/css.html b/css.html index 6520efdfa..42f26e7df 100644 --- a/css.html +++ b/css.html @@ -2575,6 +2575,21 @@ For example, <section> should be wrapped as inline. .heading { .text-hide(); } +{% endhighlight %} + +

Embeds responsive

+

Allows browsers to determine videos or slideshow dimensions based on the width of their containing block to create 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.

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