til

Use A CSS Linear Gradient To Create A Striped Element

The angle value is the direction of the gradient.

source