3 ms·
I don't understand this trend of making images in CSS3. Isn't that what SVG is for?
by alextgordon 17y ago
I don't understand this trend of making images in CSS3. Isn't that what SVG is for?
- BerislavLopac 17y agoErrr, isn't that what PNG is for? o.O
- nikeshhayaran 17y agothe size of PNG is much bigger than one css file .. isn't it ..
- mitjak 17y agoAlso, gzip is much more efficient on plain text.
- nikeshhayaran 17y agovery much true..
- rokhayakebe 17y agoSome of us cannot make a nice looking shiny "Sign Up" button in Photoshop. So this is great.
- techiferous 17y agoI'm guessing it's done as an experiment and proof-of-concept instead of being offered as a best practice.
- nikeshhayaran 17y agoyes it is done as an experiment but don't you think by using CSS3 ... you don’t have to regenerate images every time you change the text, pages will load much faster because you don’t have to download separate images . i can say by css3 in some portion we can replace the images.
- techiferous 17y agoThe browser has to render the CSS, which takes a non-zero amount of time. It's possible that the browser rendering time of some (very) complex CSS could surpass the time to fetch an image over the network and render that.