<!DOCTYPE html> <html> <head> <style> div{ width: 120px; height: 120px; }.multicolor-linear { background: linear-gradient(to left, lime 28px, red 77%, cyan); } </style> </head> <body> <pre class="class="multicolor-linear"> </body> </html>