3 ms·
Some remarks: > The forward button is the same as the back button with it rotated around 180 degrees, the original def being just two lines. A sane minimal ar
by chrismorgan 8y ago
Some remarks:
> The forward button is the same as the back button with it rotated around 180 degrees, the original def being just two lines.
A sane minimal arrow button will be just one short path; referring to the other and rotating it 180 degrees can easily be more verbose and complex.
> I also want to put them in the stylesheet with ::before and ::after pseudo elements.
This is incompatible with several of your other goals: currentColor, <use>, <title>, <description>.
> I also don't want width and height in my icons. I want just the viewbox.
In some contexts there are distinct advantages to specifying width and height; most notably, in inline SVG, before the stylesheets which define the size have loaded, they will tend to fill the available width instead, leading to massive icons briefly, or if the stylesheets simply fail to load (or are blocked).
> I also want to have titles and descriptions in my icons, in this way I can have useful mouseover text.
Better still, have actual text beside the icon. Text is really good. Icons and text is commonly really good. (In that case, you just want aria-hidden=true on the icon.) Icons with no text are generally just a bad idea.
> Maybe I get my 'service worker' to do the work rather than have the icons embedded as inline on every page. […]
You have bamboozled me with this one.