mirror of
https://github.com/jbranchaud/til
synced 2026-01-17 14:08:01 +00:00
Update display-responsive-iframe-maintaining-aspect-ratio.md
This commit is contained in:
@@ -21,7 +21,6 @@ while maintaining its aspect ratio using a little CSS.
|
|||||||
.iframe-container {
|
.iframe-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 9;
|
||||||
border: 0; // optional
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user