I can not understand how to make the selected item with the overflow of color from red to black. Do I need to use background-image, or can I just get by with css or is there another way?
1 answer
Use better background-image (a PNG file with an alpha channel). It is possible to do this in CSS, but an order of magnitude more difficult and more complex with cross-browser compatibility.
It can also be done via SVG, but this method is similar to image overlay, the only difference is that the half-filled SVG image will overlap.
|
