add hero text animation
This commit is contained in:
parent
9ef3be8e4c
commit
3000778750
2 changed files with 11 additions and 2 deletions
|
|
@ -44,8 +44,19 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
.hero__link::before {
|
||||
display: inline-block;
|
||||
content: "→";
|
||||
margin-right: 1rem;
|
||||
transform: translateX(0rem);
|
||||
transition: all 0.3s var(--curve-quick-slow);
|
||||
}
|
||||
|
||||
.hero__link:hover:before {
|
||||
margin-right: 2rem;
|
||||
}
|
||||
|
||||
.hero__link:hover {
|
||||
color: var(--color-season);
|
||||
}
|
||||
|
||||
.hero__image {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue