Adding subtle, elegant DIV animations on page load (css)
Let's say I wanted my page to display items (mostly DIVs and SPANs) with a slight animation. One-time, non-looping, just to "ooh!" the audience a little bit on page load.
Here is an example of a page that fades all elements in at once, at the same time. It's not a big deal, but has a big effect on UX when compared to cold loading. Having just returned to coding after a few years off, I see that the "animation" property could potentially do the job on its own without any JS extras. Although when I went Googling for extras, I found them.
In my ideal scenario, I'd like DIVs to load invisible and immediately fade in (w/ slight timing offset so we can recognize the individual modules) and even add a subtle slide effect to boot (ie, they'd slide in from 20-30px while fading in).
If you make the offset timing random (for instance, 0ms to 50ms values, at random) then you could even create 1 function that affects all the tagged DIVs (that way you don't have to manually set the timer on the fade-in for each one).
How simple is what I'm trying to do? If it's just one class declaration, could someone get me started on the syntax?
(Am I better off just going with Animate.css, which I linked to above?)
