html - Which option is more lightweight? CSS diagonal lines or small repeating .png image? -
i want web application fast , cross-browser compatible. there lot of animated motion javascript. there remarkable difference in css diagonal lines (by gradient) or small repeating .png image?
my general rule of thumb if can in css in css! or @ least taught in uni.
i have thought png need greater bandwidth download file css require more processing power. both of these shouldn't great talking small image / tiny bit off css can't see there being in way of performance issues.
css designed separate content styling encourage accessibility , cross-browser compatibility. (images should added in html when content , not styling).
Comments
Post a Comment