|
|
|
|
|
by jakobegger
4138 days ago
|
|
I was completely amazed when I recently checked browser support for inline SVG; almost all current browsers support them! [1] So I decided to use inline SVG for icons and logos. It's extremely fast (no separate network request, images embedded in gzipped html source), and as a bonus I can style the images easily using CSS (eg. change colors on hover/active state) Example see here: http://jsfiddle.net/Lszz5392/1/ The nicest part about this is that I can use Adobe Illustrator (or any other vector editor) to create the graphics, and then paste them straight into HTML. [1]: http://caniuse.com/#feat=svg-html5 |
|