The author instructs loading the entire font package, which is 35KB, onto you website. I don't think this is a good approach from a performance perspective. I recommend using tools like Fontello to create custom font files with just the icons you need.
Devicons, an iconic font made for developers
21–30 of 80 posts
Re: Devicons, an iconic font made for developers
#22The author instructs loading the entire font package, which is 35KB, onto you website. I don't think this is a good approach from a performance perspective. I recommend using tools like Fontello to create custom font files with just the icons you need.
Not web dev question - I'm curious, what is the advantage of using a font rather than images?
Re: Devicons, an iconic font made for developers
#23The author instructs loading the entire font package, which is 35KB, onto you website. I don't think this is a good approach from a performance perspective. I recommend using tools like Fontello to create custom font files with just the icons you need.
Not web dev question - I'm curious, what is the advantage of using a font rather than images?
Depending on the complexity I imagine fonts would also be smaller than corresponding bitmaps although I never actually checked.
Re: Devicons, an iconic font made for developers
#24Earlier quoted context omitted.
Not web dev question - I'm curious, what is the advantage of using a font rather than images?
Font files are vector "images" which means your icons will scale gracefully to any size. This is probably the main advantage. Depending on the complexity I imagine fonts would also be smaller than corresponding bitmaps although I never actually checked.
Re: Devicons, an iconic font made for developers
#25Pay attention when using the Rails logo: http://www.rubyinside.com/david-heinemeier-hansson-says-no-t...
Re: Devicons, an iconic font made for developers
#26Re: Devicons, an iconic font made for developers
#27The author instructs loading the entire font package, which is 35KB, onto you website. I don't think this is a good approach from a performance perspective. I recommend using tools like Fontello to create custom font files with just the icons you need.
Not web dev question - I'm curious, what is the advantage of using a font rather than images?
Re: Devicons, an iconic font made for developers
#28Earlier quoted context omitted.
Font files are vector "images" which means your icons will scale gracefully to any size. This is probably the main advantage. Depending on the complexity I imagine fonts would also be smaller than corresponding bitmaps although I never actually checked.
They can also be recolored more easily, making themes easier to maintain.
Re: Devicons, an iconic font made for developers
#29Earlier quoted context omitted.
Not web dev question - I'm curious, what is the advantage of using a font rather than images?
Font files are vector "images" which means your icons will scale gracefully to any size. This is probably the main advantage. Depending on the complexity I imagine fonts would also be smaller than corresponding bitmaps although I never actually checked.
http://caniuse.com/#feat=svg-img
You do miss out on the recoloring and any other font styling options though.
Re: Devicons, an iconic font made for developers
#30Earlier quoted context omitted.
Font files are vector "images" which means your icons will scale gracefully to any size. This is probably the main advantage. Depending on the complexity I imagine fonts would also be smaller than corresponding bitmaps although I never actually checked.
SVG are vector graphics that can be rendered in all modern browsers: http://caniuse.com/#feat=svg-img You do miss out on the recoloring and any other font styling options though.
#yourSVG {
fill: red;
stroke: blue;
}