Akki619 Akki619 - 4 months ago 9
CSS Question

TD background with two colors

A quick question here,

css3 gradient
is not helping in my requirement. I need to highlight
with two colors, left half with one color and right half with other color.

Output should be:

enter image description here

How can I achieve that?


Do you need like this. I don't Know whether it is correct or not?

<!DOCTYPE html>
            table td {
                border: 1px solid black;
                background: linear-gradient( to right, #ff9e2c 0%, #ff9e2c 50%, #FF0000 50%, #FF0000 100%);