CSS sticky nav & smooth scroll (#3/3)

In the last 2 posts, I wrote about best practises around handling scroll events and then how to combine a sticky nav with smooth scrolling. Both solutions required JavaScript, but there’s solutions right around the corner that allows us to do away with all the JavaScript and let the browser do all the work with a few directions from CSS.

Link: http://feedproxy.google.com/~r/remysharp/~3/vJ5jCDPqNBs/css-sticky-nav-and-smooth-scroll