css background linear-gradient center code example Example: background color linear gradient #grad { background-image: linear-gradient(red, yellow); }