Skip to content

Commit

Permalink
Background is trippy now
Browse files Browse the repository at this point in the history
  • Loading branch information
malleyeno committed Feb 18, 2024
1 parent c1574ab commit 8290d74
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ $breakpoint-pc: 1000px;
}
}

// Background animation

.gradient-background {

}





// Navbar Styling


Expand Down Expand Up @@ -97,7 +107,25 @@ html {
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(to bottom, $mainBGCol, $secondBGCol);
// background: linear-gradient(to bottom, $mainBGCol, $secondBGCol);
background: linear-gradient(300deg, $mainBGCol, $secondBGCol, #95aacc);
background-size: 120% 120%;
animation: gradient-animation 4s ease infinite;

@keyframes gradient-animation {
0% {
background-position: 0% 50%;
}

50% {
background-position: 100% 50%;
}

100% {
background-position: 0% 50%;
}
}

}

body {
Expand Down

0 comments on commit 8290d74

Please sign in to comment.