Skip to content

Commit

Permalink
login link css animation find
Browse files Browse the repository at this point in the history
  • Loading branch information
lgh06 committed Apr 9, 2022
1 parent c89c4bc commit 0d0a1a1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Home: NextPage = () => {
<Link href="/login"><a>{t('Go to User Center')}</a></Link>
</>):(<>
<span {...innerHTML(t('Welcome to Web Page Monitor'))}></span> <span style={{zoom: .45}}>alpha</span> <br/>
{t('Please')} <Link href="/login"><a>{t('Login')}</a></Link>
{t('Please')} <span className='look-here'><Link href="/login"><a >{t('Login')}</a></Link></span>
</>)}
</h1>

Expand Down
13 changes: 13 additions & 0 deletions packages/web/src/styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,16 @@ td, th{
max-width: 30%;
word-break: break-word;
}


span.look-here{
display: inline-block;
animation: lookHereAnim linear .95s infinite;
}
@keyframes lookHereAnim {
0% {transform: rotate(0deg) scale(1);}
25% {transform: rotate(2deg) scale(1.1);}
50% {transform: rotate(0deg) scale(1);}
75% {transform: rotate(-2deg) scale(0.9);}
100% {transform: rotate(0deg) scale(1);}
}

0 comments on commit 0d0a1a1

Please sign in to comment.