Skip to content

Instantly share code, notes, and snippets.

@hatefulcrawdad
Created August 10, 2012 19:41
Show Gist options
  • Save hatefulcrawdad/3317298 to your computer and use it in GitHub Desktop.
Save hatefulcrawdad/3317298 to your computer and use it in GitHub Desktop.
Icon Implementation in HTML
<i class="foundicon-[icon]"></i>
@Jeemusu
Copy link

Jeemusu commented Aug 24, 2012

Think the may need a closing tag? <i class="foundicon-[icon]>

@jpveilleux
Copy link

<i class="foundicon-[icon]> should read

Also, for people who are not that familiar with general html syntax or just for the sake of clarity, I would add "change [icon] with the name of the icon as written above in the list" or something along those lines.

Just my two cents.

@jpveilleux
Copy link

"<i class="foundicon-[icon]>" should read ""

@jpveilleux
Copy link

After trying 3 times to post some html in here... Sorry for the "" post, I can't delete that one seeing as how retarded Gists are...

You need to add double quotes at the end of the class attribute and as Jeemusu mentioned, you need a forward slash in your closing "i" tag.

@jordanmerrick
Copy link

Should be

<i class="foundicon-[icon]"></i>

@vsakaria
Copy link

Why am I getting conflicts when I am using more than one set, e.g I want a mail icon but I am getting up pinterest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment