Advertisement
Guest User

Untitled

a guest
Mar 31st, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | None | 0 0
  1. <body><div class="main-container"><section class="image-square left">
  2.                 <div class="col-md-6 image">
  3.                         <iframe id='video' src="https://www.youtube.com/embed/uV-54LlSbcw" frameborder="0" allowfullscreen></iframe>
  4.                 </div>
  5.                 <div class="col-md-6 col-md-offset-1 content">
  6.                         <ul><li>
  7.      <div class="">
  8.                          <img alt="image" class="background-image" src="[[+slide]]" />
  9.      </div>
  10.      <div class="minus200px">
  11.                         <h1>[[+longtitle]]</h1>
  12.                         <h6>[[+pagetitle]]</h6>
  13.      </div>
  14. </li><li>
  15.      <div class="">
  16.                          <img alt="image" class="background-image" src="[[+slide]]" />
  17.      </div>
  18.      <div class="minus200px">
  19.                         <h1>[[+longtitle]]</h1>
  20.                         <h6>[[+pagetitle]]</h6>
  21.      </div>
  22. </li>
  23.                 </div>
  24. </section>
  25. <style>
  26.  .minus200px{ margin-top: -250px;}
  27.  .minus200px h1, .minus200px h6 {color: white !important; }
  28.  .image {margin-top: 10px;}
  29.  #video{ height:410px; width:610px; }
  30.  @media screen and (max-width: 980px) {
  31.       #video{ height:400px; width:900px; }
  32.  }
  33.  @media screen and (max-width: 900px) {
  34.       #video{ height:280px; width:840px; }
  35.  }
  36.  @media screen and (max-width: 800px) {
  37.       #video{ height:280px; width:720px; }
  38.  }
  39.  @media screen and (max-width: 768px) {
  40.       #video{ height:280px; width:700px; }
  41.  }
  42.  @media screen and (max-width: 480px) {
  43.       #video{ height:200px; width:430px; }
  44.  }
  45.  @media screen and (max-width: 400px) {
  46.       #video{ height:200px; width:380px; }
  47.  }
  48.  @media screen and (max-width: 360px) {
  49.       #video{ height:200px; width:330px; }
  50.  }
  51.  @media screen and (max-width: 320px) {
  52.       #video{ height:200px; width:300px; }
  53.  }
  54. </style>
  55. </div>
  56. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement