User:Connorszgame

<!DOCTYPE html>

Minecraft Loading Screen

body {

background-color: #000;

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

height: 100vh;

margin: 0;

}

.logo {

width: 200px;

height: 200px;

background-image: url('minecraft_logo.png');

background-size: contain;

background-repeat: no-repeat;

background-position: center;

margin-bottom: 20px;

}

.progress-bar {

width: 400px;

height: 20px;

background-color: #555;

border-radius: 10px;

overflow: hidden;

}

.progress {

width: 0;

height: 100%;

background-color: #55aaff;

animation: progress-animation 3s linear forwards;

}

@keyframes progress-animation {

0% { width: 0; }

100% { width: 100%; }

}

window.onload = function {

var progressBar = document.querySelector('.progress');

var redirectUrl = ' https://minecraft.unblockedgamers.repl.co/load.html' ;

progressBar.addEventListener('animationend', function {

window.location.href = redirectUrl;

});

};