Advertisement
1xptolevitico69

Video slider inside iframe

Dec 16th, 2022
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.44 KB | None | 0 0
  1. <!DOCTYPE html><html lang="en">
  2. <head>
  3.   <link href="https://fonts.googleapis.com/css2?family=Dancing+Script&family=Great+Vibes&family=Orbitron&display=swap" rel="stylesheet">
  4.   <meta charset="UTF-8">
  5.   <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.   <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.   <style>
  8.     body {
  9.       margin: 0;
  10.     }
  11.  
  12.     .top {
  13.       position: absolute;
  14.       width: 100%;
  15.       border: 0;
  16.       outline: 0;
  17.       background-color: transparent;
  18.       padding: 50px 0;
  19.     }
  20.  
  21.     .top span {
  22.       font-weight: 900;
  23.       font-size: 3vw;
  24.       margin: 0 10px;
  25.     }
  26.  
  27.     .top a {
  28.       color: red;
  29.       margin: 0 5px;
  30.       text-decoration: none;
  31.       font-family: verdana;
  32.       font-weight: 900;
  33.       font-size: 3vw;
  34.     }
  35.  
  36.     .top input {
  37.       display: block;
  38.       margin: 10px auto;
  39.     }
  40.  
  41.     .avatar {
  42.       width: 100px;
  43.       display: block;
  44.       margin: 50px auto;
  45.       border-radius: 50%;
  46.       border: 4px double navy;
  47.     }
  48.  
  49.     h1 {
  50.       font-family: orbitron;
  51.       margin: 0 0 50px 0;
  52.     }
  53.  
  54.     .search {
  55.       outline: 0;
  56.       height: 40px;
  57.       font-size: 16px;
  58.       width: 150px;
  59.       text-align: center;
  60.       border: 0;
  61.       color: red;
  62.       background-color: red;
  63.       color: white;
  64.       border-radius: 10px;
  65.     }
  66.  
  67.     @media all and (orientation:portrait){
  68.       .search {
  69.         font-size: 16px;
  70.         width: 150px;
  71.         border-radius: 10px;
  72.       }
  73.  
  74.       .top a {
  75.         color: red;
  76.         text-decoration: none;
  77.         font-family: verdana;
  78.         font-weight: 900;
  79.         font-size: 20px;
  80.       }
  81.  
  82.     .top span {
  83.       font-size: 20px;
  84.       margin: 0;
  85.     }
  86.     }
  87.  
  88.   @media all and (orientation:landscape) and (max-width:640px){
  89.       .search {
  90.         font-size: 16px;
  91.         width: 150px;
  92.         border-radius: 10px;
  93.       }
  94.  
  95.       .top a {
  96.         color: red;
  97.         text-decoration: none;
  98.         font-family: verdana;
  99.         font-weight: 900;
  100.         font-size: 5vw;
  101.       }
  102.  
  103.     .top span {
  104.       font-size: 5vw;
  105.       margin: 0;
  106.     }
  107. }
  108.  
  109.  
  110.   @media all and (orientation:landscape) and (min-width:641px) and (max-width:768px){
  111.       .search {
  112.         font-size: 16px;
  113.         width: 150px;
  114.         border-radius: 10px;
  115.       }
  116.  
  117.       .top a {
  118.         color: red;
  119.         text-decoration: none;
  120.         font-family: verdana;
  121.         font-weight: 900;
  122.         font-size: 5vw;
  123.       }
  124.  
  125.     .top span {
  126.       font-size: 5vw;
  127.       margin: 0;
  128.     }
  129.     }
  130.   </style>
  131. </head>
  132.  
  133. <body>
  134.   <audio id='audio' loop src='https://1xpto.netlify.app/posts/player%20mp3/local/soundtrack%2025.mp3'></audio>
  135.  
  136.   <button class='top'>
  137.  
  138.     <a href='https://1xpto.netlify.app/'>Webpage</a><span>||</span>
  139.     <a href='https://www.facebook.com/groups/1xptodocs'>Facebook</a>
  140.     <img class='avatar' src='https://1xpto.netlify.app/pic/moi.jpg' />
  141.  
  142.     <h1>Video slider inside iframe</h1>
  143.  
  144.     <input class='search' onclick='Style()' type='button' value='Source Code' />
  145.       <input class='search' onclick='web()' type='button' value='HTML' />
  146.  
  147.   </button>
  148.  
  149.   <script>
  150.     function Style() {
  151.       window.open('https://1xpto.netlify.app/posts/Video slider inside iframe/local/index.txt');
  152.       audio.play();
  153.     }
  154.  
  155.     function web() {
  156.       window.open('https://1xpto.netlify.app/posts/Video slider inside iframe/local/index.html');
  157.     }
  158.   </script>
  159. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement