I'm working with a team that makes heavy use of the "fade-in" effect to animate the rendering of images, and even text sometimes.
You can see the kind of effect I'm describing here: http://www.seafireresidencescayman.com/seven-mile-beach
The fade-in isn't really "my thing", but what actually troubles me the most is that all implementations that I've seen so far, make the site pretty useless when javascript isn't enabled.
Here's what the same site above looks like without javascript:
My team's preferred tool for this is AOS, which uses more-or-less the same approach that I see elsewhere:
- Hide designated content with CSS
- Reveal it in a jazzy way using javascript
If javascript isn't available, #2 doesn't happen and the content stays hidden. Not good.
I'm interested to find a way to accomplish the same/similar effect, but in a way that fails gracefully if javascript isn't available. I'm guessing the tricky part is to keep the content from flickering initially, and that's why most approaches need to hide the content "by default." So maybe it's not as simple as just hiding things with javascript instead of CSS...
Is there a non-evil way to do this?