improve youtube shortcode (#21)

This commit is contained in:
Wonderfall 2022-07-22 05:01:31 +02:00 committed by GitHub
parent 7adcdaf982
commit 190c61f973
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,15 @@
.youtube-embed-div {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
}
.youtube-embed-frame {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}