CSS3 Patterns Gallery
lea.verou.me
CSS3 Patterns Gallery
1–10 of 39 posts
Re: CSS3 Patterns Gallery
#2Re: CSS3 Patterns Gallery
#3Re: CSS3 Patterns Gallery
#4These look great, but performance is really poor.
Re: CSS3 Patterns Gallery
#5Re: CSS3 Patterns Gallery
#6A lot of these look great :-) If only they worked in IE 7, 8 and 9 they could be used in real projects...
Re: CSS3 Patterns Gallery
#7 - Many are completely broken in FF
- Crashed my FF (19.0.2) and strangely sent my GPU fan into overdrive
- These techniques hurt performance badly. In the case of gradients
the browser has to first generate the bitmaps
from the gradient definitions, apply any clipping/masks
and then composite any other overlaying elements.
This is far more taxing than simply grabbing a
bitmap and painting into a region.Re: CSS3 Patterns Gallery
#8Re: CSS3 Patterns Gallery
#9These look great, but performance is really poor.
Could you explain this? I'd figure the performance would be greater than using an repeating image for a background.
With a definition such as:
- radial-gradient(closest-side, transparent 0%, transparent 75%, #...
The browser first parses the CSS, then generates the actual bitmap data for this definition in memory then finally paints the pixels into the correct places. The in-memory bitmap generation is far more taxing than simply tiling an existing bitmap.Then there is the issue of dynamic CSS which may cause reflow which will in turn probably require more dynamic bitmap generation.
Re: CSS3 Patterns Gallery
#10Earlier quoted context omitted.
Could you explain this? I'd figure the performance would be greater than using an repeating image for a background.
Performance is far worse because this is the equivalent of a procedural texture. With a tiling bitmap the computer simply fetches the file, then paints the pixels into a region. With a definition such as: - radial-gradient(closest-side, transparent 0%, transparent 75%, #... The browser first parses the CSS, then generates the actual bitmap data for this definition in memory then finally paints the pixels into the cor…