CSS Animations

Animations without javascript? Yes it works, and it's pretty easy (for simple use-cases)

Transitions

If the state of an element changes, you can smoothly transition in between the states.

Example

Code

        button:hover {
            background-color: #00162d;
            color: white;
            border: black solid 3px;
            transition: all 500ms ease-in-out;
        }

More information

Tricks