<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loading</title>
<style>
body{
padding:0;
margin:0;
display: flex;
width:100%;
height:100vh;
justify-content: center;
align-items: center;
background-color: black;
}
.container{
width:30%;
height:5%;
border:2px solid rgb(0, 255, 0);
padding:3px 2px;
}
.fluid{
width:100%;
height:100%;
background-color:rgb(0, 255, 0);
animation: load 10s linear forwards;
box-shadow: 0px 0px 20px rgb(0, 255, 0),
0px 0px 50px rgb(0, 255, 0);
}
@keyframes load {
from{
width:0%;
}
to{
width:100%;
}
}
</style>
</head>
<body>
<div class="container">
<div class="fluid"></div>
</div>
</body>
</html>
Post a Comment