Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Custom Styled Buttons</title>
- <style>
- body {
- margin: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100vh;
- background-color: transparent;
- overflow: hidden; /* Disable scrolling */
- }
- .image-button {
- display: inline-block;
- width: 200px;
- height: 200px;
- background-size: cover;
- border: none;
- cursor: pointer;
- transition: transform .3s ease;
- }
- .image-button:hover {
- transform: scale(1.1);
- }
- .button1 {
- background-image: url(https://iili.io/2HcJB5X.png);
- }
- .button2 {
- background-image: url(https://iili.io/2HcJ42I.png);
- }
- @media (max-width: 600px) {
- .image-button {
- width: 100px;
- height: 100px;
- }
- }
- @media (max-width: 400px) {
- .image-button {
- width: 80px;
- height: 80px;
- }
- }
- .button-container {
- display: flex;
- gap: 10px; /* Increased gap for better spacing */
- }
- .button {
- display: inline-block;
- position: relative;
- width: 160px; /* Fixed width for square shape */
- height: 160px; /* Fixed height for square shape */
- background: transparent;
- border: none;
- margin: 5px; /* Increased margin for better spacing */
- text-align: center;
- transition: none; /* No animation on hover */
- }
- .button span {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-family: "Serif";
- font-size: 30px;
- font-weight: 700;
- color: #000; /* Default color for other buttons */
- pointer-events: none; /* Removed glow effect */
- text-shadow: none;
- transition: font-size 0.2s ease; /* Add smooth transition for font size */
- }
- /* Increase font size on hover */
- .button:hover span {
- font-size: 34px; /* Adjust as desired */
- }
- .back-button {
- width: 160px; /* Set a fixed width */
- height: 160px; /* Set a fixed height for a square shape */
- transition: box-shadow 0.3s ease; /* Smooth transition for glow effect */
- }
- .back-button span {
- color: white; /* Set text color to white */
- text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5); /* White glow effect */
- }
- </style>
- </head>
- <body>
- <div class="button-container">
- <div class="image-button button1" onclick="replaceHTML()"></div>
- <div class="image-button button2" onclick="replaceWithDifferentButtons()"></div>
- </div>
- <script>
- const originalHTML = document.body.innerHTML;
- function replaceHTML() {
- document.body.innerHTML = `
- <style>
- body {
- display: flex;
- justify-content: center;
- align-items: flex-start;
- flex-wrap: wrap;
- height: 100vh;
- background-color: transparent;
- margin: 0;
- padding: 30px;
- box-sizing: border-box;
- overflow: hidden; /* Disable scrolling */
- }
- .buttons-container {
- width: 100%;
- display: flex;
- justify-content: center;
- margin-bottom: 30px;
- }
- .button {
- display: inline-block;
- position: relative;
- width: 160px; /* Fixed width for square shape */
- height: 160px; /* Fixed height for square shape */
- background: transparent;
- border: none;
- margin: 5px; /* Increased margin for better spacing */
- text-align: center;
- transition: none; /* No animation on hover */
- }
- .button span {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-family: "Serif";
- font-size: 30px;
- font-weight: 700;
- color: black; /* Default color for other buttons */
- pointer-events: none;
- text-shadow: none; /* Removed glow effect */
- transition: font-size 0.2s ease; /* Add smooth transition for font size */
- }
- .button:hover span {
- font-size: 34px; /* Adjust as desired */
- }
- </style>
- <div class="buttons-container">
- <a href="#" class="button back-button" onclick="goBackToHTML1()">
- <span>BACK</span>
- </a>
- </div>
- <div class="buttons-container">
- <a href="https://raw.githubusercontent.com/KxGOATESQUE/SilentRivals/main/SilentRivals" class="button" target="_blank">
- <span>Rivals</span>
- </a>
- <a href="https://pastebin.com/raw/BP9LR0Q5" class="button" target="_blank">
- <span>Arsenal</span>
- </a>
- <a href="https://pastebin.com/raw/0PYLQrYz" class="button" target="_blank">
- <span>MVSD</span>
- </a>
- <a href="https://pastebin.com/raw/ud4zeLv2" class="button" target="_blank">
- <span>Da Hood</span>
- </a>
- <a href="https://pastebin.com/raw/nwhE6XzQ" class="button" target="_blank">
- <span>Blade Ball</span>
- </a>
- <a href="https://pastebin.com/raw/8QdP9xiY" class="button" target="_blank">
- <span>Murder Mystery 2</span>
- </a>
- <a href="https://raw.githubusercontent.com/cocotv666/Aurora/main/Aurora_Loader" class="button" target="_blank">
- <span>Bedwars</span>
- </a>
- <a href="https://pastebin.com/raw/cdPGaqHN" class="button" target="_blank">
- <span>Prison Life</span>
- </a>
- <a href="https://raw.githubusercontent.com/notpoiu/mspaint/main/main.lua" class="button" target="_blank">
- <span>Doors FLOOR 2</span>
- </a>
- <a href="https://pastebin.com/raw/mCRk0Bfj" class="button" target="_blank">
- <span>Destruction Simulator</span>
- </a>
- <a href="https://pastebin.com/raw/z0R8YG1E" class="button" target="_blank">
- <span>KAT</span>
- </a>
- </div>
- `;
- }
- function replaceWithDifferentButtons() {
- document.body.innerHTML = `
- <style>
- body {
- display: flex;
- justify-content: center;
- align-items: flex-start;
- flex-wrap: wrap;
- height: 100vh;
- background-color: transparent;
- margin: 0;
- padding: 30px;
- box-sizing: border-box;
- overflow: hidden; /* Disable scrolling */
- }
- .buttons-container {
- width: 100%;
- display: flex;
- justify-content: center;
- margin-bottom: 30px;
- }
- .button {
- display: inline-block;
- position: relative;
- width: 160px; /* Fixed width for square shape */
- height: 160px; /* Fixed height for square shape */
- background: transparent;
- border: none;
- margin: 5px; /* Increased margin for better spacing */
- text-align: center;
- transition: none; /* No animation on hover */
- }
- .button span {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-family: "Serif";
- font-size: 30px;
- font-weight: 700;
- color: black; /* Default color for other buttons */
- pointer-events: none;
- text-shadow: none; /* Removed glow effect */
- transition: font-size 0.2s ease; /* Add smooth transition for font size */
- }
- .button:hover span {
- font-size: 34px; /* Adjust as desired */
- }
- </style>
- <div class="buttons-container">
- <a href="#" class="button back-button" onclick="goBackToHTML1()">
- <span>BACK</span>
- </a>
- </div>
- <div class="buttons-container">
- <a href="https://infyiff.github.io/resources/IY_FE.txt" class="button" target="_blank">
- <span>Infinite Yield</span>
- </a>
- <a href="https://pastebin.com/raw/P7Vv564N" class="button" target="_blank">
- <span>Nameless Admin</span>
- </a>
- <a href="https://rscripts.net/raw/betterbypasser-chat-bypass-ai-chatbot-hub_1728418602953_QuOq2tP1Dl.txt" class="button" target="_blank">
- <span>BetterBypasser</span>
- </a>
- <a href="https://yarhm.goteamst.com/scr?channel=afem" class="button" target="_blank">
- <span>Free Emotes</span>
- </a>
- <a href="https://rscripts.net/raw/airhub-v2-universal-aimbot-wall-hack-esp-crosshair-gui_64f279bc22a98.txt" class="button" target="_blank">
- <span>AirHubV2</span>
- </a>
- </div>
- `;
- }
- function goBackToHTML1() {
- document.body.innerHTML = originalHTML;
- eval(document.querySelector('script').innerHTML);
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment