background: linear-gradient(to right, #010305, #131516); code example Example: css horizontal linear gradient background: linear-gradient(to left, red, blue);