youtube.css 311 B

123456789101112131415161718
  1. .grav-youtube {
  2. height: 0;
  3. padding-top: 25px;
  4. padding-bottom: 56.34%;
  5. margin-bottom: 10px;
  6. position: relative;
  7. overflow: hidden;
  8. max-width: 1920px;
  9. max-height: 1080px;
  10. }
  11. .grav-youtube iframe {
  12. top: 0;
  13. left: 0;
  14. width: 100%;
  15. height: 100%;
  16. position: absolute;
  17. }