Universal.css
github.com
Universal.css
1–10 of 118 posts
Re: Universal.css
#2This is great. Something similar was on hacker news without the "of course this is a joke" qualifier:
Re: Universal.css
#3In the end, why not directly have the JS reading the class and generating only what's needed? That would be very cool!
I'm still having some doubts about the maintainability (duplication, isolation...) of such styling btw...
Re: Universal.css
#4At under 5MB, it's quite lightweight compared to other modern tools too, nice!
Re: Universal.css
#5I've done this before. The performance on IE, firefox, safari and mobile is complete shit yet suprisingly good in Chrome.
Re: Universal.css
#6Re: Universal.css
#7Is this a joke?
Of course it's a joke. Use semantic CSS class names.
Re: Universal.css
#8> Where is the documentation?
> You don't need documentation.
What constitutes self-describing code is wildly different depending on the person. I mean, really?
EDIT: I definitely missed that this is a joke :'(
Re: Universal.css
#9Delightful, cringe-entailing humour; this definitely made my day.
Re: Universal.css
#10> Where is the documentation? > You don't need documentation. What constitutes self-describing code is wildly different depending on the person. I mean, really? EDIT: I definitely missed that this is a joke :'(
I think you may have missed this:
> Is this a joke? Of course it's a joke.