Site Design: Pocket Penguins(

over 4 years ago from Mathieu Triay

  • Alec LomasAlec Lomas, over 4 years ago

    Why do you need a library? Detect if an element is in the viewport on scroll, change the background-color property of the body, set a transition on the body. Could probably do the whole thing in ~15 lines where you pass the function an object w/ element & color pairings

    0 points