Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Use <i> instead of <img> #1

Closed
kordianbruck opened this issue Mar 26, 2015 · 1 comment
Closed

Use <i> instead of <img> #1

kordianbruck opened this issue Mar 26, 2015 · 1 comment

Comments

@kordianbruck
Copy link
Contributor

Following the font-awesome and others, you might as well advertise the <i> tag on the website instead of including a <img> with a blank gif. Saves one additional request to the server and the css works just as fine with that.

@LeoColomb
Copy link
Owner

Thanks for your comment @kordianbruck, in fact it's not my website.
My repo is an improved source of the methodology, and http://flag-sprites.com is the direct inspiration.
Nevertheless, you can obviously prefer use the <i> tag in your code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants