Here’s a fantastic trick with background-attachment: fixed
from Kevin Powell:
Huh! Also, doing a quick search for other cool things you can do with this trick, I found that Geoff already made a collection of use cases for fixed backgrounds in CSS years ago that’s worth checking out, too.