Skip to content

Commit

Permalink
Loading tiles added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthaknegigit committed Oct 11, 2021
1 parent 49bb23e commit 4038223
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Loading Tiles Animation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!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">
<link rel="stylesheet" href="styles.css">

<title>Loading Tiles</title>
</head>
<body>
<div class="container">
<div class="box box1"></div>
<div class="box box2"></div>
<div class="box box3"></div>
<div class="box box4"></div>
</div>

<h2>CSS LOADER TILES</h2>
</body>
31 changes: 31 additions & 0 deletions Loading Tiles Animation/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
body{
background-color: #000000;
}

.container{
width: 120px;
margin: 200px auto;
margin-bottom: 100px;
}

.box{
width: 50px;
height: 50px;
background-color: #14d6b6;
display: inline-block;
animation: pulse 0.6s ease-in infinite alternate;
}
.box2, .box3{
animation-delay: 0.6s;
}

@Keyframes pulse{
100%{
opacity: 0;
}
}
h2{
color: #14d6b6;
font-style: italic;
text-align: center;
}

0 comments on commit 4038223

Please sign in to comment.