How to create animations with pure CSS?

Submitted by Anonymous (not verified) on Tue, 02/28/2017 - 22:42

Hello. For a small site I need two simple animations.

  1. A text which should appear in a fade-in like effect.
  2. A car which should move from left to right and disappear.

My code:


<h1 id="title">My text</h1>

<div id="car"><img src="car.jpg"></div>