April 29, 2024 · 5 min

Applying CSS transitions to Hugo blog posts

I wanted to include some on-scroll content transitions to blog posts on my Hugo-based website, which I was just finished porting over from the initial Wordpress + LayTheme design. Turns out it’s fairly easy using JavaScript’s IntersectionObserver API and some Hugo magic.

Read more