Add and use an aspect ratio plugin
This commit is contained in:
parent
67a49ecb93
commit
a6ce168d97
4 changed files with 15 additions and 3 deletions
|
|
@ -14,8 +14,7 @@
|
|||
}
|
||||
|
||||
.embed-responsive {
|
||||
@apply block relative h-0 p-0 overflow-hidden;
|
||||
padding-bottom: 56.25%
|
||||
@apply block relative h-0 overflow-hidden aspect-ratio-16/9
|
||||
}
|
||||
|
||||
.embed-responsive .embed-responsive-item,
|
||||
|
|
|
|||
Reference in a new issue