Advertisement
1xptolevitico69

(css perspective)(event.clientX)(offset)

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