mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-19 20:00:59 +00:00
Merge pull request #15726 from hkdobrev/fix-embed-responsive-code
Extract responsive embed nested classes
This commit is contained in:
commit
54bae8f021
1 changed files with 10 additions and 10 deletions
|
|
@ -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 4:3 aspect ratio
|
||||
&.embed-responsive-4by3 {
|
||||
padding-bottom: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
// 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%;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue