See the code on Codepen: https://codepen.io/aeb685/pen/gyejRK