mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 22:16:38 +02:00
Merge pull request #15726 from hkdobrev/fix-embed-responsive-code
Extract responsive embed nested classes
This commit is contained in:
@@ -22,14 +22,14 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Modifier class for 16:9 aspect ratio
|
|
||||||
&.embed-responsive-16by9 {
|
// Modifier class for 16:9 aspect ratio
|
||||||
padding-bottom: 56.25%;
|
.embed-responsive-16by9 {
|
||||||
}
|
padding-bottom: 56.25%;
|
||||||
|
}
|
||||||
// Modifier class for 4:3 aspect ratio
|
|
||||||
&.embed-responsive-4by3 {
|
// Modifier class for 4:3 aspect ratio
|
||||||
padding-bottom: 75%;
|
.embed-responsive-4by3 {
|
||||||
}
|
padding-bottom: 75%;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user