linear gradient calculator code example
Example 1: css gradient
Here a codePen with cool gradient animations:
https://codepen.io/DevLorenzo/pen/ExgpvJM
Example 2: css gradient generator
background: linear-gradient(Direction (keyword or degrees), color1 10% (10% width), color2 width (it's not neccessary), ...);