Icons – Google Fonts
81–90 of 190 posts
Re: Icons – Google Fonts
#82Regular reminder that icon fonts are bad for accessibility and are technically troublesome also in other ways: https://github.blog/2016-02-22-delivering-octicons-with-svg/
I can't see how these would be bad for accessibility. The markup is a with a human readable word like "home" in it.
Re: Icons – Google Fonts
#83I have Google Fonts blocked in uBlock Origin now, and it's really helped pages load quicker and feel more snappy. I added these lines to uBlock: fonts.gstatic.com fonts.googleapis.com Occasionally some icons break on a few sites, but mostly it's plain sailing.
would something like that also work on a pihole ? that would be perfect for the other devices too that dont have possibility to use ublock thanks
Re: Icons – Google Fonts
#84Regular reminder that icon fonts are bad for accessibility and are technically troublesome also in other ways: https://github.blog/2016-02-22-delivering-octicons-with-svg/
Re: Icons – Google Fonts
#85Earlier quoted context omitted.
Took me a while to figure it all out, but it works surprisingly well. I have been using https://icomoon.io/ to generate the sprites. They also provide a JS polyfill to support IE.
You can also use Boxy SVG to create and edit SVG sprites: https://boxy-svg.com/#tour-symbols
Dora anyone know? I'm not going to sign up for something without knowing what I'm getting into.
Re: Icons – Google Fonts
#86Earlier quoted context omitted.
SVGs can do the same thing.
That SVG does have to be inline though, which drastically increases your HTML page’s size. You cannot style an SVG loaded in an IMG element. Imagine rendering 50 rows with each 6 icons, 1kb each. There are 6 unique icons, so it’s only 6kb each loading them from the server, but inline you’ll have 300kb of SVG icons
Re: Icons – Google Fonts
#87Regular reminder that icon fonts are bad for accessibility and are technically troublesome also in other ways: https://github.blog/2016-02-22-delivering-octicons-with-svg/
(2016)? How about not using an ancient article to make a claim about a fast changing space like web dev?
Re: Icons – Google Fonts
#88Re: Icons – Google Fonts
#89Re: Icons – Google Fonts
#90Earlier quoted context omitted.
That SVG does have to be inline though, which drastically increases your HTML page’s size. You cannot style an SVG loaded in an IMG element. Imagine rendering 50 rows with each 6 icons, 1kb each. There are 6 unique icons, so it’s only 6kb each loading them from the server, but inline you’ll have 300kb of SVG icons
1kb is a lot for a simple svg icon. That said, if you have a single page app already, you can render as many icons as you want, since you’ll only download them once anyway.