-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* html file added * style files and gifnadded * Update include.js * Update style.css removed unnecessary comment * Update include.js restitute master card object order * Update include.js fix spacing --------- Co-authored-by: Laureline Paris <32878345+LaurelineP@users.noreply.github.com>
- Loading branch information
1 parent
789ad1c
commit 9f44d85
Showing
4 changed files
with
91 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
.wrapper { | ||
height: 100vh; | ||
width: 100vw; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.container { | ||
height: 250px; | ||
width: 250px; | ||
background-color: wheat; | ||
display: flex; | ||
column-gap: 8px; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.line { | ||
width: 8px; | ||
background-color: rgb(54, 205, 54); | ||
} | ||
|
||
.line-1 { | ||
height: 10%; | ||
animation: verticalMove 2s infinite cubic-bezier(0.02, -0.01, 0.98, 0.96); | ||
animation-delay: 0.5s; | ||
} | ||
|
||
.line-2 { | ||
height: 10%; | ||
animation: verticalMove 2s infinite cubic-bezier(0.02, -0.01, 0.98, 0.96); | ||
animation-delay: 1s; | ||
} | ||
|
||
.line-3 { | ||
height: 10%; | ||
animation: verticalMove 2s infinite cubic-bezier(0.02, -0.01, 0.98, 0.96); | ||
animation-delay: 1.5s; | ||
} | ||
|
||
@keyframes verticalMove { | ||
|
||
0%, | ||
100% { | ||
transform: translateY(0); | ||
} | ||
|
||
25% { | ||
transform: translateY(100%); | ||
} | ||
|
||
50% { | ||
transform: translateY(0); | ||
} | ||
|
||
75% { | ||
transform: translateY(-100%); | ||
} | ||
} |
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,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="style.css" /> | ||
<title>Three Line</title> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<div class="container"> | ||
<div class="line line-1"></div> | ||
<div class="line line-2"></div> | ||
<div class="line line-3"></div> | ||
</div> | ||
</div> | ||
</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