Thanks for the video, this is a cool effect, nice and easy to implement on a static site. Esp with a little script written to generate all those nth-child(n) elements.
Just a quick question... my compiler is yelling at me for the `&:after` syntax, I think it has to do with the nesting of the .gallery and .box and the &:after (none of which my compiler likes!). Was there something special you had to do to support these nested CSS elements like that? Or is it natively supported in that IDE you're working with?
1
u/PM_ME_YOUR_BEST_KNEE Feb 05 '20
Thanks for the video, this is a cool effect, nice and easy to implement on a static site. Esp with a little script written to generate all those nth-child(n) elements.
Just a quick question... my compiler is yelling at me for the `&:after` syntax, I think it has to do with the nesting of the .gallery and .box and the &:after (none of which my compiler likes!). Was there something special you had to do to support these nested CSS elements like that? Or is it natively supported in that IDE you're working with?