-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb4e6ac
commit 92dd5a4
Showing
3 changed files
with
86 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* Table of contents | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– | ||
- Entrance animations | ||
- Button hover animations | ||
- Icon hover animations | ||
- Footer hover animations | ||
*/ | ||
|
||
|
||
|
||
/* Entrance animations | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– */ | ||
|
||
.fadein, .button-entrance { | ||
animation-name: fadein; | ||
animation-duration: 3s; | ||
animation-fill-mode: both; | ||
} | ||
|
||
@keyframes fadein { | ||
from { | ||
opacity: 0; | ||
} | ||
|
||
to { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
|
||
/* Button hover animations | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– */ | ||
/* (Also apply to icon) */ | ||
|
||
.button-hover, .credit-hover{ | ||
display:inline-block; | ||
-webkit-transform:perspective(1px) translateZ(0); | ||
transform:perspective(1px) translateZ(0); | ||
-webkit-transition-duration:.3s; | ||
transition-duration:.3s; | ||
-webkit-transition-property:transform; | ||
transition-property:transform | ||
} | ||
.credit-hover:active, | ||
.credit-hover:focus, | ||
.credit-hover:hover{ | ||
-webkit-transform:scale(1.1); | ||
transform:scale(1.1) | ||
} | ||
|
||
|
||
/* Icon hover animations | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– */ | ||
|
||
.icon-hover{ | ||
display:inline-block; | ||
} | ||
|
||
|
||
/* Footer hover animations | ||
–––––––––––––––––––––––––––––––––––––––––––––––––– */ | ||
|
||
.footer-hover{ | ||
display:inline-block; | ||
-webkit-transform:perspective(1px) translateZ(0); | ||
transform:perspective(1px) translateZ(0); | ||
-webkit-transition-duration:.3s; | ||
transition-duration:.3s; | ||
-webkit-transition-property:transform; | ||
transition-property:transform; | ||
-webkit-transition-timing-function:ease-out; | ||
transition-timing-function:ease-out | ||
} | ||
.footer-hover:active,.footer-hover:focus,.footer-hover:hover{ | ||
-webkit-transform:translateY(-8px); | ||
transform:translateY(-8px) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters