1 2 3 4 5 6 7 8 9 10 11 12
<!DOCTYPE HTML> <title>Test for linear-gradient() with all stops at the same position</title> <style> div { width: 200px; height: 200px; background-image: linear-gradient(to right, blue 0%, blue 25%, orange 25%, orange 100%); } </style> <div></div>