mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
Set iframe full width if no width & height specific html attributes
This commit is contained in:
@@ -97,8 +97,13 @@
|
||||
// iFrame
|
||||
// ==========================================================================
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
&:not([width]) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:not([height]) {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
|
||||
Reference in New Issue
Block a user