-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
140 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
<!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"> | ||
<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>animated button</title> | ||
<link rel="stylesheet" href="index.css"> | ||
</head> | ||
<body> | ||
<link rel="stylesheet" href="index.css" /> | ||
</head> | ||
<body> | ||
<a href="#"> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
Button | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
Button | ||
</a> | ||
<footer> | ||
<div><p>Credit:- <a href="https://github.com/Palaksharma23" class="atag" >Palak Sharma</a></p></div> | ||
<div class="date">Date:- 31-08-2021</div> | ||
</footer> | ||
|
||
</body> | ||
</html> | ||
<footer> | ||
<div> | ||
<p> | ||
Credit:- | ||
<a href="https://github.com/Palaksharma23" class="atag" | ||
>Palak Sharma</a | ||
> | ||
</p> | ||
</div> | ||
<div class="date">Date:- 31-08-2021</div> | ||
</footer> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="./style.css" /> | ||
<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 Animation Balls</title> | ||
</head> | ||
<body> | ||
<h1>Window'10 Loading Animation</h1> | ||
<div class="container"> | ||
<div class="ball"></div> | ||
<div class="ball"></div> | ||
<div class="ball"></div> | ||
<div class="ball"></div> | ||
<div class="ball"></div> | ||
<div class="ball"></div> | ||
</div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Loading Animation | ||
|
||
<img src="./pro.png"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
body { | ||
background-color: #345b63; | ||
height: 100vh; | ||
width: 100vw; | ||
overflow: hidden; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-family: sans-serif; | ||
text-align: center; | ||
} | ||
h1 { | ||
position: absolute; | ||
top: 10px; | ||
color: white; | ||
} | ||
.container { | ||
position: relative; | ||
/* background-color: aqua;s */ | ||
width: 50vw; | ||
height: 50vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.ball { | ||
position: absolute; | ||
top: 50%; | ||
width: 5px; | ||
height: 5px; | ||
border-radius: 5px; | ||
background-color: #fff; | ||
-webkit-box-reflect: below 10px | ||
linear-gradient(rgba(0, 0, 0, 0.137), rgba(7, 7, 7, 0.205)); | ||
animation: animate 3s ease-in-out infinite; | ||
-webkit-animation: animate 3s ease-in-out infinite; | ||
-webkit-border-radius: 5px; | ||
-moz-border-radius: 5px; | ||
-ms-border-radius: 5px; | ||
-o-border-radius: 5px; | ||
} | ||
.ball:nth-child(1) { | ||
animation-delay: 0.1s; | ||
} | ||
.ball:nth-child(2) { | ||
animation-delay: 0.2s; | ||
} | ||
.ball:nth-child(3) { | ||
animation-delay: 0.3s; | ||
} | ||
.ball:nth-child(4) { | ||
animation-delay: 0.4s; | ||
} | ||
.ball:nth-child(5) { | ||
animation-delay: 0.5s; | ||
} | ||
.ball:nth-child(6) { | ||
animation-delay: 0.6s; | ||
} | ||
@keyframes animate { | ||
0% { | ||
opacity: 0; | ||
left: 0; | ||
} | ||
5% { | ||
opacity: 1; | ||
left: 5%; | ||
} | ||
|
||
95% { | ||
opacity: 1; | ||
left: 95%; | ||
} | ||
100% { | ||
opacity: 0; | ||
left: 100%; | ||
} | ||
} | ||
@media (max-width: 800px) { | ||
.container { | ||
width: 95vw; | ||
margin: auto; | ||
} | ||
} |