Click here to Skip to main content
15,035,866 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i set to css3 a part of div color
i want to say a side from a div be blue and the other side be red
or from a pixel to a pixel be green
Updated 8-Jun-14 1:49am

Refer: css3_gradients[^]
You can not set pixle's color using CSS - but you can use gradient (linear or radial) for such an effect you described...[^][^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900