Skip to content

Commit

Permalink
feat(style.css): animmate the header text
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin committed Jul 29, 2022
1 parent 866c850 commit f9b6a7d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ nav h1 {
-webkit-text-fill-color: transparent;
background-clip: text;
cursor: pointer;
animation: moveColor 500ms ease-in infinite alternate;
}

.menu {
Expand Down Expand Up @@ -322,6 +323,21 @@ a {
color: var(--text-color);
}

@keyframes moveColor {
0% {
background: linear-gradient(26deg, rgb(255, 255, 255), rgb(105, 143, 216));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
100% {
background: linear-gradient(272deg, rgb(255, 255, 255), rgb(105, 143, 216));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
}

@media screen and (max-width: 1300px) and (min-width: 1009px) {
:root {
--modal-width: calc(var(--modal-container-width) - 20vw);
Expand Down

1 comment on commit f9b6a7d

@vercel
Copy link

@vercel vercel bot commented on f9b6a7d Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

trick-generator – ./

trick-generator.vercel.app
trick-generator-git-main-dun-sin.vercel.app
trick-generator-dun-sin.vercel.app

Please sign in to comment.