Commit b46dbef3 authored by Haralan Dobrev's avatar Haralan Dobrev
Browse files

Extract responsive embed nested classes

I think this is the more common coding convention across Bootstrap.

Extract nested classes as first-class citizens and assume HTML would use both.
parent 33d8fde6
5 merge requests!28721Hot test,!16605Test pull please ignore,!22103test,!15726Extract responsive embed nested classes,!25326Adjust examples
Showing with 8 additions and 8 deletions
+8 -8
......@@ -22,14 +22,14 @@
width: 100%;
border: 0;
}
}
// Modifier class for 16:9 aspect ratio
&.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
// Modifier class for 16:9 aspect ratio
.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
// Modifier class for 4:3 aspect ratio
&.embed-responsive-4by3 {
padding-bottom: 75%;
}
// Modifier class for 4:3 aspect ratio
.embed-responsive-4by3 {
padding-bottom: 75%;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment