mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add fade in to lazyloads
This commit is contained in:
parent
7cf5d488e5
commit
0f29c14040
1 changed files with 20 additions and 0 deletions
|
|
@ -61,6 +61,26 @@
|
|||
* @import "utilities/skew-transforms";
|
||||
*/
|
||||
|
||||
|
||||
.ease {
|
||||
transition-property: all;
|
||||
transition-duration: 400ms;
|
||||
/* easeInOutQuart */
|
||||
/* https://easings.net/en#easeInOutQuart */
|
||||
transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
|
||||
}
|
||||
|
||||
.lazyload,
|
||||
.lazyloading {
|
||||
opacity: 0;
|
||||
}
|
||||
.lazyloaded {
|
||||
@apply ease;
|
||||
transition-property: opacity;
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.neumorphic-shadow,
|
||||
.hover\:neumorphic-shadow:hover {
|
||||
/* box-shadow: -0.25rem -0.25rem 0.5rem rgba(255, 255, 255, 0.07); */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue