huaisianhuang 3 vuotta sitten
vanhempi
commit
1f7d383a5d
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      layouts/trends/single.html

+ 3 - 1
layouts/trends/single.html

@@ -50,7 +50,9 @@
                 <div class="col-12 col-md-7">
                     <div class="header__right">
                         <img src="/imgs/02.webp" alt="" class="header__right__cir">
-                        <img src="/imgs/影片.webp" alt="" class="header__right__video">
+                        <div class="header__right__video">
+                            <style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; max-width: 100%; box-shadow: 1px 1px 8px 2px grey; border-radius: 1rem;} .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://www.youtube.com/embed//IzHhpC_bD6g?autoplay=1&mute=1' frameborder='0' allowfullscreen></iframe></div>
+                        </div>
                         <img class="header__right__magnifier" src="/imgs/放大鏡.webp" alt="">
                         <img class="header__right__bubble" src="/imgs/對話.webp" alt="">
                         <img class="header__right__linecir" src="/imgs/裝飾圓.webp" alt="">