Re:Social icons in CSS3
by alextgordon on Saturday May 01, 2010 @07:46AM
(#1310449)
I don't understand this trend of making images in CSS3. Isn't that what SVG is for?
[ Parent
| on HN ]
Re:Social icons in CSS3
by techiferous on Saturday May 01, 2010 @10:17AM
(#1310586)
I'm guessing it's done as an experiment and proof-of-concept instead of being offered as a best practice.
Re:Social icons in CSS3
by nikeshhayaran on Saturday May 01, 2010 @11:57AM
(#1310695)
yes 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.
Re:Social icons in CSS3
by techiferous on Saturday May 01, 2010 @02:37PM
(#1310972)
The 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.
Re:Social icons in CSS3
by rokhayakebe on Saturday May 01, 2010 @09:54AM
(#1310555)
Some of us cannot make a nice looking shiny "Sign Up" button in Photoshop. So this is great.
Re:Social icons in CSS3
by BerislavLopac on Saturday May 01, 2010 @09:27AM
(#1310524)
Errr, isn't that what PNG is for? o.O
Re:Social icons in CSS3
by nikeshhayaran on Saturday May 01, 2010 @10:15AM
(#1310582)
the size of PNG is much bigger than one css file .. isn't it ..
Also, gzip is much more efficient on plain text.
Re:Social icons in CSS3
by nikeshhayaran on Saturday May 01, 2010 @01:49PM
(#1310882)
very much true..