diff options
| author | Haralan Dobrev <[email protected]> | 2015-02-02 19:26:30 +0200 |
|---|---|---|
| committer | Haralan Dobrev <[email protected]> | 2015-02-02 19:26:30 +0200 |
| commit | b46dbef3264c87d16dbba3ba89cec3dc72065cac (patch) | |
| tree | 5207ff24046c15d582b270c12b0387e3c9729aa6 /less | |
| parent | 33d8fde67cf9db663cc85b3990944109c5dcbe47 (diff) | |
| download | bootstrap-b46dbef3264c87d16dbba3ba89cec3dc72065cac.tar.xz bootstrap-b46dbef3264c87d16dbba3ba89cec3dc72065cac.zip | |
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.
Diffstat (limited to 'less')
| -rw-r--r-- | less/responsive-embed.less | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/less/responsive-embed.less b/less/responsive-embed.less index c1fa8f848..080a5118f 100644 --- a/less/responsive-embed.less +++ b/less/responsive-embed.less @@ -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%; } |
