Fade In/Out On Scroll (simple code) 3 June 2016 By Nick van de Veerdonk Leave a Comment Basic code (Javascript + CSS) to make elements fade in and out on scroll, like the fixed header and share buttons on our website.