Rendering efficiency - image gradient or gradient with gradient or frame?

I have a question about scrolling a website, animation performance. Better use your mobile website or website:

  • repeating thin image or CSS3 gradient?

or

  • repeating image instead of window shadow with frame?

This is not a compatibility issue, I only want to know the performance aspect when scrolling, rendering elements and animations.

Because it has been proven that a linear CSS gradient is harder to render elements than just the background color.

+4
source share
1 answer

CSS3 , .., . , , , , .

0

All Articles