gradien csst with degrees code example Example: linear-gradient Click to copybackground: linear-gradient(to left, #333, #333 50%, #eee 100%);