liveBook · Manning

Fade in

A fade-in is an animation technique that gradually increases an element’s opacity until it becomes fully visible.

How 2 Manning books explain it

CSS in Depth, Second Edition

A fade-in transition gradually increases an element's visual opacity as it changes into its visible state.

How it is used
Reveals navigation labels during hover interaction while keeping the compact menu visually restrained.
How deep it goes
Demonstrates the interaction pattern and pairs it with translation, but does not provide the label-transition declaration.
Examples
Uses hidden menu labels that appear on hover beside enlarged icons and translated link text.
What you can do after
Build it by combining a hidden navigation label with a fade-in transition and a translate effect.

Read how CSS in Depth, Second Edition explains fade in →

Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

An animation technique that increases opacity over time until content becomes fully visible.

How it is used
Transitions newly painted canvas images into view by increasing their opacity over time.
How deep it goes
Explains alpha-based redraws, recursive animation frames, a .99 stopping threshold, and promise-based completion.
Examples
Uses a canvas image gallery and code that increases alpha by one twenty-fourth of the remaining opacity.
What you can do after
Build a canvas image fade using globalAlpha and requestAnimationFrame, and signal completion with a promise.

Read how Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond explains fade in →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.