Re:Universal.css
by ryannevius on Monday May 23, 2016 @08:34AM
(#11753419)
But how is that any more efficient than changing:
to
It's also two keystrokes, and is mathematically determined...
[ Parent
| on HN ]
1. way less clutter and repeating, my whole style is in one line per tag.
2. the scale also has fractional rem values.
I'd rather change "f5" to "f6" for a smaller font than: "fontSize: 1rem" to "fontSize: 0.875rem".
3. the author of tachyons clearly understand design. If he improves his stylesheet, I benefit.
4. Apparently inline-styles are slower [0], but I don't count that since everything could be extracted.
[0] http://ctheu.com/2015/08/17/react-inline-styles-vs-css-stupi...
5. I thoroughly enjoy using it. :)