Years ago, I came across many CSS codes that used background-image: url(xxx.png)
to mimic a gradient background filter,
as only (please correct me if I'm mistaken) IE's proprietary filter could achieve a CSS gradient.
In today's world - given the popularity of current browsers and mobile device browsers (smartphones/tablets), should I opt for:
- CSS gradients, with one background property for each engine
OR
background-image: url(xxx.png)
, using one small image (though it still requires a browser request);
?
What about the issue with IE9 that some CSS gradient generators have encountered (like Colorzilla)?
UPDATE: Sorry if I wasn't clear. My question is not "how" to do this, but rather which method is more efficient, acceptable, or the correct way. Thank you!