24kDxrxk

HTML 2

Oct 15th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.48 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <title>Custom Styled Buttons</title>
  7. <style>
  8. body {
  9. margin: 0;
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. height: 100vh;
  14. background-color: transparent;
  15. overflow: hidden; /* Disable scrolling */
  16. }
  17.  
  18. .image-button {
  19. display: inline-block;
  20. width: 200px;
  21. height: 200px;
  22. background-size: cover;
  23. border: none;
  24. cursor: pointer;
  25. transition: transform .3s ease;
  26. }
  27.  
  28. .image-button:hover {
  29. transform: scale(1.1);
  30. }
  31.  
  32. .button1 {
  33. background-image: url(https://iili.io/2HcJB5X.png);
  34. }
  35.  
  36. .button2 {
  37. background-image: url(https://iili.io/2HcJ42I.png);
  38. }
  39.  
  40. @media (max-width: 600px) {
  41. .image-button {
  42. width: 100px;
  43. height: 100px;
  44. }
  45. }
  46.  
  47. @media (max-width: 400px) {
  48. .image-button {
  49. width: 80px;
  50. height: 80px;
  51. }
  52. }
  53.  
  54. .button-container {
  55. display: flex;
  56. gap: 10px; /* Increased gap for better spacing */
  57. }
  58.  
  59. .button {
  60. display: inline-block;
  61. position: relative;
  62. width: 160px; /* Fixed width for square shape */
  63. height: 160px; /* Fixed height for square shape */
  64. background: transparent;
  65. border: none;
  66. margin: 5px; /* Increased margin for better spacing */
  67. text-align: center;
  68. transition: none; /* No animation on hover */
  69. }
  70.  
  71. .button span {
  72. position: absolute;
  73. top: 50%;
  74. left: 50%;
  75. transform: translate(-50%, -50%);
  76. font-family: "Serif";
  77. font-size: 30px;
  78. font-weight: 700;
  79. color: #000; /* Default color for other buttons */
  80. pointer-events: none; /* Removed glow effect */
  81. text-shadow: none;
  82. transition: font-size 0.2s ease; /* Add smooth transition for font size */
  83. }
  84.  
  85. /* Increase font size on hover */
  86. .button:hover span {
  87. font-size: 34px; /* Adjust as desired */
  88. }
  89.  
  90. .back-button {
  91. width: 160px; /* Set a fixed width */
  92. height: 160px; /* Set a fixed height for a square shape */
  93. transition: box-shadow 0.3s ease; /* Smooth transition for glow effect */
  94. }
  95.  
  96. .back-button span {
  97. color: white; /* Set text color to white */
  98. text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5); /* White glow effect */
  99. }
  100. </style>
  101. </head>
  102. <body>
  103. <div class="button-container">
  104. <div class="image-button button1" onclick="replaceHTML()"></div>
  105. <div class="image-button button2" onclick="replaceWithDifferentButtons()"></div>
  106. </div>
  107. <script>
  108. const originalHTML = document.body.innerHTML;
  109.  
  110. function replaceHTML() {
  111. document.body.innerHTML = `
  112. <style>
  113. body {
  114. display: flex;
  115. justify-content: center;
  116. align-items: flex-start;
  117. flex-wrap: wrap;
  118. height: 100vh;
  119. background-color: transparent;
  120. margin: 0;
  121. padding: 30px;
  122. box-sizing: border-box;
  123. overflow: hidden; /* Disable scrolling */
  124. }
  125. .buttons-container {
  126. width: 100%;
  127. display: flex;
  128. justify-content: center;
  129. margin-bottom: 30px;
  130. }
  131. .button {
  132. display: inline-block;
  133. position: relative;
  134. width: 160px; /* Fixed width for square shape */
  135. height: 160px; /* Fixed height for square shape */
  136. background: transparent;
  137. border: none;
  138. margin: 5px; /* Increased margin for better spacing */
  139. text-align: center;
  140. transition: none; /* No animation on hover */
  141. }
  142. .button span {
  143. position: absolute;
  144. top: 50%;
  145. left: 50%;
  146. transform: translate(-50%, -50%);
  147. font-family: "Serif";
  148. font-size: 30px;
  149. font-weight: 700;
  150. color: black; /* Default color for other buttons */
  151. pointer-events: none;
  152. text-shadow: none; /* Removed glow effect */
  153. transition: font-size 0.2s ease; /* Add smooth transition for font size */
  154. }
  155. .button:hover span {
  156. font-size: 34px; /* Adjust as desired */
  157. }
  158. </style>
  159. <div class="buttons-container">
  160. <a href="#" class="button back-button" onclick="goBackToHTML1()">
  161. <span>BACK</span>
  162. </a>
  163. </div>
  164. <div class="buttons-container">
  165. <a href="https://raw.githubusercontent.com/KxGOATESQUE/SilentRivals/main/SilentRivals" class="button" target="_blank">
  166. <span>Rivals</span>
  167. </a>
  168. <a href="https://pastebin.com/raw/BP9LR0Q5" class="button" target="_blank">
  169. <span>Arsenal</span>
  170. </a>
  171. <a href="https://pastebin.com/raw/0PYLQrYz" class="button" target="_blank">
  172. <span>MVSD</span>
  173. </a>
  174. <a href="https://pastebin.com/raw/ud4zeLv2" class="button" target="_blank">
  175. <span>Da Hood</span>
  176. </a>
  177. <a href="https://pastebin.com/raw/nwhE6XzQ" class="button" target="_blank">
  178. <span>Blade Ball</span>
  179. </a>
  180. <a href="https://pastebin.com/raw/8QdP9xiY" class="button" target="_blank">
  181. <span>Murder Mystery 2</span>
  182. </a>
  183. <a href="https://raw.githubusercontent.com/cocotv666/Aurora/main/Aurora_Loader" class="button" target="_blank">
  184. <span>Bedwars</span>
  185. </a>
  186. <a href="https://pastebin.com/raw/cdPGaqHN" class="button" target="_blank">
  187. <span>Prison Life</span>
  188. </a>
  189. <a href="https://raw.githubusercontent.com/notpoiu/mspaint/main/main.lua" class="button" target="_blank">
  190. <span>Doors FLOOR 2</span>
  191. </a>
  192. <a href="https://pastebin.com/raw/mCRk0Bfj" class="button" target="_blank">
  193. <span>Destruction Simulator</span>
  194. </a>
  195. <a href="https://pastebin.com/raw/z0R8YG1E" class="button" target="_blank">
  196. <span>KAT</span>
  197. </a>
  198. </div>
  199. `;
  200. }
  201.  
  202. function replaceWithDifferentButtons() {
  203. document.body.innerHTML = `
  204. <style>
  205. body {
  206. display: flex;
  207. justify-content: center;
  208. align-items: flex-start;
  209. flex-wrap: wrap;
  210. height: 100vh;
  211. background-color: transparent;
  212. margin: 0;
  213. padding: 30px;
  214. box-sizing: border-box;
  215. overflow: hidden; /* Disable scrolling */
  216. }
  217. .buttons-container {
  218. width: 100%;
  219. display: flex;
  220. justify-content: center;
  221. margin-bottom: 30px;
  222. }
  223. .button {
  224. display: inline-block;
  225. position: relative;
  226. width: 160px; /* Fixed width for square shape */
  227. height: 160px; /* Fixed height for square shape */
  228. background: transparent;
  229. border: none;
  230. margin: 5px; /* Increased margin for better spacing */
  231. text-align: center;
  232. transition: none; /* No animation on hover */
  233. }
  234. .button span {
  235. position: absolute;
  236. top: 50%;
  237. left: 50%;
  238. transform: translate(-50%, -50%);
  239. font-family: "Serif";
  240. font-size: 30px;
  241. font-weight: 700;
  242. color: black; /* Default color for other buttons */
  243. pointer-events: none;
  244. text-shadow: none; /* Removed glow effect */
  245. transition: font-size 0.2s ease; /* Add smooth transition for font size */
  246. }
  247. .button:hover span {
  248. font-size: 34px; /* Adjust as desired */
  249. }
  250. </style>
  251. <div class="buttons-container">
  252. <a href="#" class="button back-button" onclick="goBackToHTML1()">
  253. <span>BACK</span>
  254. </a>
  255. </div>
  256. <div class="buttons-container">
  257. <a href="https://infyiff.github.io/resources/IY_FE.txt" class="button" target="_blank">
  258. <span>Infinite Yield</span>
  259. </a>
  260. <a href="https://pastebin.com/raw/P7Vv564N" class="button" target="_blank">
  261. <span>Nameless Admin</span>
  262. </a>
  263. <a href="https://rscripts.net/raw/betterbypasser-chat-bypass-ai-chatbot-hub_1728418602953_QuOq2tP1Dl.txt" class="button" target="_blank">
  264. <span>BetterBypasser</span>
  265. </a>
  266. <a href="https://yarhm.goteamst.com/scr?channel=afem" class="button" target="_blank">
  267. <span>Free Emotes</span>
  268. </a>
  269. <a href="https://rscripts.net/raw/airhub-v2-universal-aimbot-wall-hack-esp-crosshair-gui_64f279bc22a98.txt" class="button" target="_blank">
  270. <span>AirHubV2</span>
  271. </a>
  272. </div>
  273. `;
  274. }
  275.  
  276. function goBackToHTML1() {
  277. document.body.innerHTML = originalHTML;
  278. eval(document.querySelector('script').innerHTML);
  279. }
  280. </script>
  281. </body>
  282. </html>
  283.  
Advertisement
Add Comment
Please, Sign In to add comment