11 ms·
We've just released Universal.css, which is a great state-of-the-art CSS library. https://github.com/marmelab/universal.css https://github.com/marmelab/universa
by Kmaschta 10y ago
We've just released Universal.css, which is a great state-of-the-art CSS library.
https://github.com/marmelab/universal.css https://github.com/marmelab/universal.css
What do you thinks, guys?
- nachtigall 10y agoI'm missing a `display-none` css class, looks good otherwise! Edit: Meant `js--on-hover-this-element-do-display-block-other-class`. Obviously, other class would be an element with `.other-class`
- Kmaschta 10y agoGreat idea! I've opened an issue, feel free to open anothers for each idea. https://github.com/marmelab/universal.css/issues/2 https://github.com/marmelab/universal.css/issues/2
- deleted 10y ago[deleted]
- r0muald 10y agoOf course!
- deleted 10y ago[deleted]
- jccalhoun 10y agoI'm glad you put the explanation at the end. I don't know much about css but as i was reading I was thinking "Why would you do this? I must be missing something."
- dreamcompiler 10y agoYou laugh, but some fool's gonna download this thing and think it solves all his problems. Because now he can use the more cool-sounding "class=" instead of "style=" on the inline styles he's so proud of.
- liquidise 10y agoI think nearly 5MB for a prototype css file is orders of magnitude too large.
- fzaninotto 10y agoRead the project FAQ: they offer an alternative technique, using JS, which uses only a few KBs.
- apetresc 10y agoIt's satire.
- jlg23 10y agoI really hope so, but I'm not sure :(
- wtetzner 10y agoAt the bottom of the README: Is this a joke? Of course it's a joke. Use semantic CSS class names.
- jlg23 10y agobroad smile This is border-line Poe's law; I really had to deal with web-3.11-for-workgroups folks who argued that this style is the way to go. Never felt this good to realize to have been tricked 8)
- jlg23 10y agoI am by no means a CSS-guy, I only do it when necessary (i.e. when prototyping something) but this approach feels so wrong to me: It basically moves the styles from the "style" attribute to the "class" attribute. How does this approach deal with themes? How can I redesign a page without editing all HTML?
- Kmaschta 10y agoCheck the others comments, it's not a real deal.