Blog Posts with Tag CSS

Detecting HTML Elements with an Intersection Observer

Ever wanted to animate an HTML element as it becomes visible on a webpage? Me too. Often, I've seen others make cool animations that trigger when scrolled into view on a website page. For example, sliding text in from the right when the page scrolls in, or making text fade in when it scrolls into view. For quite some time this involved hooking into various DOM events, finding the position of an element relative to the viewport and performing comparisons to determine if it…

October 03, 2020
|
approximately 2 minutes to read
Sprucing up honlsoft.com with CSS Transitions

I've been watching a few pluralsight courses on CSS transitions lately. I've been observing other sites and have noticed a lot of little transitions that improve the overall feel of the site. Things like rotating elements, fading in text, or motion to provide simple animations can add a new level interactivity. CSS transitions are a great tool to add these, and inject some life into webpages. In this post, I'm going to introduce an extremely simple usage of the transition CSS…

September 19, 2020
|
approximately 3 minutes to read
© 2024 - Built and designed by Jeremy Honl with Gatsby. Images are from Unsplash