2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Merge pull request #15726 from hkdobrev/fix-embed-responsive-code

Extract responsive embed nested classes
This commit is contained in:
Chris Rebert
2015-02-02 18:09:53 -08:00
+8 -8
View File
@@ -22,14 +22,14 @@
width: 100%; width: 100%;
border: 0; border: 0;
} }
}
// Modifier class for 16:9 aspect ratio // Modifier class for 16:9 aspect ratio
&.embed-responsive-16by9 { .embed-responsive-16by9 {
padding-bottom: 56.25%; padding-bottom: 56.25%;
} }
// Modifier class for 4:3 aspect ratio // Modifier class for 4:3 aspect ratio
&.embed-responsive-4by3 { .embed-responsive-4by3 {
padding-bottom: 75%; padding-bottom: 75%;
}
} }