4 ms·
Some of these seem very nit picky but if we are doing that my pet peeve was that the “color” property should have been named “text-color”
by terandle 8y ago
Some of these seem very nit picky but if we are doing that my pet peeve was that the “color” property should have been named “text-color”
- aphextron 8y agoOr just "font-color" to match font-face and font-family. etc. That still gets me almost every time.
- maxxxxx 8y agoColor is not a property of font so I'd stick with "text-color"
- koboll 8y agocolor is as much a property of font as size is
- paulddraper 8y agoTraditionally, font is just the shape of the characters (size, weight, italics). Other things (alignment, underline, wrap, color). This is because "fonts" were originally physical typesetting blocks. Some designers go further and say font refers only to the files and file formats; other things are the "typeface".
- einr 8y agoI believe the traditional usage is something like this: Helvetica is a typeface, Helvetica Bold Italic is a font.
- taejo 8y agoAlmost: Helvetica is a typeface family, Helvetica Bold Italic is a typeface, Helvetica Bold Italic 10pt is a font (or rather, the font is a case full of bits of metal with Helvetica Bold Italic 10pt)
- dcbadacd 8y agoYeah, but fonts being recolored is a different thing than fonts having a color. https://www.colorfonts.wtf/ https://www.colorfonts.wtf/
- thrower123 8y agoIn practice it usually is part of the same font selection dialog in most software that you use to select the font face, size, bold/italic/underline, etc. For example, the relevant button in Word is titled "Font Color"
- ZenPsycho 8y agoHold on a second here! It actually becomes the "currentColor" color in inlined SVGs, and the default fill color in svg when no color is defined. so oops, not a property strictly of text or fonts anymore. Maybe "foreground-color" would be appropriate?
- SimeVidas 8y agoIt affects non-text as well, e.g., https://jsbin.com/wodevam/edit?css,output https://jsbin.com/wodevam/edit?css,output.
- ronaldj 8y agoWow. I've been writing CSS for 10+ years. I never knew that.
- GlennS 8y agoSurely "text-colour"?