In order to fade in the
skillset element, we can use a the jQuery function named
True to its name,
fadeIn will fade an element in over a period of time in milliseconds. It looks like this:
- We must start with an element that is not currently displayed on the page.
- Just like before, we can attach
fadeIn directly to a jQuery selector.
fadeIn's parentheses, we can specify how long we want the fade to last in milliseconds.
400 is the default.
- The example code will fade in the
'.example-class' element over 0.4 seconds.