Skip to content

Commit

Permalink
🔧 remove animation
Browse files Browse the repository at this point in the history
Remove header, footer and content animation (but not scroll-reveal)
  • Loading branch information
Ahhj93 committed Feb 12, 2024
1 parent 99dfd8b commit 1c33f1b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 51 deletions.
46 changes: 0 additions & 46 deletions static/css/keyframes.css
Original file line number Diff line number Diff line change
@@ -1,49 +1,3 @@
@keyframes slideInLeft {
0% {
transform: translateX(-20%);
opacity: 0%;
}

100% {
transform: translateX(0);
opacity: 100%;
}
}

@keyframes slideInRight {
0% {
transform: translateX(20%);
opacity: 0%;
}

100% {
transform: translateX(0);
opacity: 100%;
}
}

@keyframes slideInTop {
0% {
transform: translateY(-20%);
opacity: 0%;
}

100% {
transform: translateY(0);
opacity: 100%;
}
}

@keyframes slideIn {
0% {
transform: translateY(100%);
}

100% {
transform: translateY(0);
}
}

@keyframes animation {
0% {
width: 0px;
Expand Down
5 changes: 0 additions & 5 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ body {

header {
display: flex;
animation: 1s ease-out 0s 1 slideInTop;
background-color: #000000;
padding: 20px;
text-align: center;
Expand Down Expand Up @@ -72,7 +71,6 @@ main h2 {
margin-left: 5%;
margin-right: 5%;
font-size: 20px;
animation: 1s ease-out 0s 1 slideIn;
}

.content h3 {
Expand Down Expand Up @@ -105,7 +103,6 @@ footer {
margin-right: 20px;
border-top: 2px solid var(--purple);
margin-top: 20px;
animation: 1s ease-out 0s 1 slideIn;
}

footer img:hover {
Expand Down Expand Up @@ -252,7 +249,6 @@ footer .liens {
}

.grid-item-container-left {
animation: 1s ease-out 0s 1 slideInLeft;
position: relative;
/* Firefox */
-moz-transition: all 0.2s;
Expand All @@ -265,7 +261,6 @@ footer .liens {
}

.grid-item-container-right {
animation: 1s ease-out 0s 1 slideInRight;
position: relative;
/* Firefox */
-moz-transition: all 0.2s;
Expand Down

0 comments on commit 1c33f1b

Please sign in to comment.