Advertisement
1xptolevitico69

Display Video Fullscreen

Apr 12th, 2023
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.00 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 input {
  22.       display: block;
  23.       margin: 10px auto;
  24.     }
  25.  
  26.     h1 {
  27.       font-family: orbitron;
  28.       margin: 0 0 50px 0;
  29.     }
  30.  
  31.     .search {
  32.       outline: 0;
  33.       height: 40px;
  34.       font-size: 16px;
  35.       width: 150px;
  36.       text-align: center;
  37.       border: 0;
  38.       color: red;
  39.       background-color: red;
  40.       color: white;
  41.       border-radius: 10px;
  42.     }
  43.  
  44.     @media all and (orientation:portrait){
  45.       .search {
  46.         font-size: 16px;
  47.         width: 150px;
  48.         border-radius: 10px;
  49.       }
  50.     }
  51.  
  52.   @media all and (orientation:landscape) and (max-width:640px){
  53.       .search {
  54.         font-size: 16px;
  55.         width: 150px;
  56.         border-radius: 10px;
  57.       }
  58. }
  59.  
  60.  
  61.   @media all and (orientation:landscape) and (min-width:641px) and (max-width:768px){
  62.       .search {
  63.         font-size: 16px;
  64.         width: 150px;
  65.         border-radius: 10px;
  66.       }
  67.     }
  68.   </style>
  69. </head>
  70.  
  71. <body>
  72.  
  73.   <button class='top'>
  74.  
  75.     <h1>Display Video Fullscreen</h1>
  76.  
  77.     <input class='search' onclick='Style()' type='button' value='Source Code' />
  78.       <input class='search' onclick='web()' type='button' value='HTML' />
  79.  
  80.   </button>
  81.  
  82.   <script>
  83.     function Style() {
  84.       window.open('https://1xpto.netlify.app/posts/Display Video Fullscreen/local/index.txt');
  85.     }
  86.  
  87.     function web() {
  88.       window.open('https://1xpto.netlify.app/posts/Display Video Fullscreen/');
  89.     }
  90.   </script>
  91. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement