Last active
January 11, 2023 12:10
-
-
Save StoneyEagle/88d0ea03451e1b3a257aba6fe0fc443d to your computer and use it in GitHub Desktop.
Trickle show images
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
// image | |
.trickle-div { | |
transition: all; | |
transition-delay: var(--delay1); | |
transition-duration: 300ms; | |
} | |
// itemcontainer | |
@for $i from 1 to 100 { | |
.trickle > *:nth-child(#{$i}) { | |
--delay1: #{$i * 5ms}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment