IT2 - Vault
How do I make an it2 - vault?
What is a it2 - vault? How do you make a it2 - vault? This script and codes were developed by Samuel on 10 November 2022, Thursday.
IT2 - Vault - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>IT2 - Vault</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <main> <section> <div id="buttons"> <button id="open">Open Safe</button> <button id="close">Close Safe</button> </div> <div id="door"> <div id="rad"></div> </div> <iframe src="https://www.youtube.com/embed/TVbrpJ13emo" allowfullscreen></iframe> </section>
</main> <script src="js/index.js"></script>
</body>
</html>
IT2 - Vault - Script Codes CSS Codes
/* html & body */
html, body { height: 100%; overflow: hidden;
}
body { background: #262626; font-family: 'Helvetica Neue', sans-serif; font-size: 62.5%;
}
/* main */
main { height: inherit; width: 1440px;
}
button { background: #1c1c1c; border: 0; box-shadow: inset 0 -4px 0 0 #79bd8f; color: #ccc; font-weight: 100; letter-spacing: 0.1em; margin: 30px 0 0 598px; padding: 20px; text-transform: uppercase; -webkit-transition: background-color 1s; transition: background-color 1s;
}
button:hover { background: #79bd8f;
}
button#close { box-shadow: inset 0 -4px 0 0 #bd4932; margin-left: 15px;
}
button#close:hover { background: #bd4932;
}
button:focus { outline: 0;
}
section { background-image: url('https://i.imgsafe.org/002b864dbc.png'); background-position: left 80px; background-repeat: no-repeat; background-size: 1440px 600px; height: 600px; margin: -325px auto 0 auto; position: relative; top: 50%; width: inherit;
}
div { background-position: center center; background-repeat: no-repeat; background-size: contain;
}
div#door { background-image: url('https://i.imgsafe.org/002b90dcbf.png'); height: 466px; top: 145px; left: 435px; position: absolute; width: 550px;
}
div#rad { background-image: url('https://i.imgsafe.org/002b979586.png'); height: 460px; margin-left: 180px; width: 225px;
}
iframe { height: 231px; margin: 180px 0 0 515px; width: 410px;
}
/* query */
@media screen and (max-width: 726px) { section { -webkit-transform: scale(0.6); transform: scale(0.6); }
}
IT2 - Vault - Script Codes JS Codes
function main() { var buttons = document.getElementsByTagName("button") var door = document.getElementById("door"); var rad = document.getElementById("rad"); for (var i = 0; i < buttons.length; i++) { buttons[i].onclick = function() { if (this.innerHTML === "Open Safe") { door.style.transition = "left 2s ease-in-out"; door.style.transitionDelay = "1.5s"; door.style.left = "-40px"; rad.style.transition = "transform 1.5s ease-in-out"; rad.style.transform = "rotate(360deg)"; } else if (this.innerHTML === "Close Safe") { door.style.transition = "left 2s ease-in-out"; door.style.left = "435px"; rad.style.transition = "transform 1.5s ease-in-out"; rad.style.transitionDelay = "2s"; rad.style.transform = "rotate(0)"; } } } function fluid() { var main = document.getElementsByTagName('main')[0]; var cal = (window.innerWidth - 1440) / 2; main.style.transform = 'translateX(' + cal + 'px)'; } fluid(); window.onresize = function() { fluid(); }
}
window.onload = function() { main();
}
Developer | Samuel |
Username | SamuelVDP |
Uploaded | November 10, 2022 |
Rating | 3 |
Size | 2,673 Kb |
Views | 20,240 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CMT3 - Herhalingsoefening 03 | 2,197 Kb |
IT2 - Record Player | 2,907 Kb |
CMT3 - Opdracht 06 - Isotope | 3,686 Kb |
IT3 - Opdracht 04 - Responsive Weekplanner | 3,898 Kb |
CMT3 - Herhalingsoefening 02 | 2,246 Kb |
IT3 - Opdracht 03 - FreshCotton | 2,754 Kb |
IT3 - Opdracht 09 - RellaxJS | 4,331 Kb |
IT3 - Opdracht 06 - PureCSS | 5,220 Kb |
IT3 - Opdracht 05 - Battery API | 3,894 Kb |
CMT3 - Herhalingsoefening 01 | 2,366 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Fixed with using Calc | Tomleo | 2,542 Kb |
My three.js practice | Esambino | 3,203 Kb |
Promodoro | Bencarp | 1,712 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
Cut and Paste Roll Link | BottomlineInteractive | 2,546 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
Multi column experiment. | Spylefkaditis | 2,805 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!