Skip to content

Commit

Permalink
post hover anim
Browse files Browse the repository at this point in the history
  • Loading branch information
fennifith committed Aug 27, 2024
1 parent ecc4a30 commit 52ca4df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/blog/BlogList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

-webkit-tap-highlight-color: transparent;

transition: background-color .1s;
transition: transform .25s, background-color .25s;
transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);

.blog__title {
font-size: 1rem;
Expand All @@ -58,6 +59,7 @@

&:hover {
background-color: var(--blog-hover-bg);
transform: translateX(12px);

a {
text-decoration: underline;
Expand Down

0 comments on commit 52ca4df

Please sign in to comment.