Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By sarahswansea

Thread: CSS Font Icons

  1. #1
    Senior Member sarahswansea's Avatar
    Join Date
    Oct 2015
    Location
    Swansea, UK
    Posts
    155
    Member #
    52184
    Liked
    65 times

    CSS Font Icons

    I came across this while looking for an alternative to the pay-for icon sets, and its too good not to share!

    It's a really easy way to add icons to your HTML with minimal markup. Basically it works by displaying a letter using CSS and a special font for icons. Because it's a vector font that means the icons look good no matter what the text size is.

    Font Awesome, the iconic font and CSS toolkit

    You use it like this:

    Code:
    <button><i class="fa fa-plus"></i></i> Add Thing</button>
    and it looks like this

    http://fortawesome.github.io/Font-Awesome/examples/

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    I can't speak for others, but I've seen this before and I'm not a big fan of it yet. My major issue is that most of the icons are useless for most projects, yet they all have to be downloaded. The best example of this is the 14 genders...and before anyone gets offended and goes politically correct on me, it has to do with the fact that gender icons are generally not used on websites. In other words, most people are downloading 14 glyphs that they're never going to use.

    It would be great if the individual glyphs could be picked. I might get on board with it then. Until then, it's too bloated.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Senior Member Vapr_Arts's Avatar
    Join Date
    Oct 2013
    Location
    California
    Posts
    1,930
    Member #
    37412
    Liked
    544 times
    Quote Originally Posted by TheGAME1264 View Post
    I can't speak for others, but I've seen this before and I'm not a big fan of it yet. My major issue is that most of the icons are useless for most projects, yet they all have to be downloaded. The best example of this is the 14 genders...and before anyone gets offended and goes politically correct on me, it has to do with the fact that gender icons are generally not used on websites. In other words, most people are downloading 14 glyphs that they're never going to use.

    It would be great if the individual glyphs could be picked. I might get on board with it then. Until then, it's too bloated.
    I have to agree. One of the main reasons I dislike most frameworks and prebuilt solutions is because of this. I hate having to have anything stored on my server that will never be used. There are options that will let you create your own icon font. Icomoon comes to mind.


    Sent from my iPhone using Tapatalk

  5. #4
    Senior Member sarahswansea's Avatar
    Join Date
    Oct 2015
    Location
    Swansea, UK
    Posts
    155
    Member #
    52184
    Liked
    65 times
    In general I agree with you TheGAME -- it's important to optimise for fast loading times for a first visit.

    But for a web application that I'm building for a company to use internally, loading it as a once-off and keeping it in cache won't be a problem.

    Definitely think about the trade off of loading time vs benefits, and if that trade off is appropriate for your situation
    TheGAME1264 likes this.

  6. #5
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    True indeed.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:44 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com