Monthly Archives: February 2008
A silly little thing, but it amazes me how many website developers don’t bother setting the body background-color for their sites, assuming that all browsers have a white background. I set my browser’s background color to grey to make sure that I don’t forget to do this myself.
Consider a black box with 50% opacity. A sprite with a black rectangular fill in it.
Which would render quicker?
- A sprite where the black fill has 50% alpha (0.5)
- A sprite with 50% alpha containing a solid fill
Anyone done any tests?