This is by far the most insane and stupid idea I have seen this year.
Well, the year isn't over yet :P
Show HN: Mimic – class-fied inline CSS
51–60 of 74 posts
Re: Show HN: Mimic – class-fied inline CSS
#52Earlier quoted context omitted.
Sure, the row and col stuff makes sense ... which makes it all the more bizarre that the terrible inline-as-classname stuff is included. I fear it might be more a 'troll' than a joke; either that or this person has really got the wrong end of the stick.
Thanks for taking a look, I appreciate everyone's opinion on things. Could you share why you think this way?
Re: Show HN: Mimic – class-fied inline CSS
#53Brilliant!
Doesn't anyone get that this is a joke?!?
Re: Show HN: Mimic – class-fied inline CSS
#54Check https://github.com/EasyBoxModel/EBM/blob/master/app/assets/c... to get the idea.
Re: Show HN: Mimic – class-fied inline CSS
#55I feel like this is akin to "killing the patient to cure the disease." In the uses I can see for this, the way this framework solves the problem, to me, seems to be worse than any problem itself. Namely, I would like to know how this is any better than !important on your CSS properties. Firstly, you're messing up your separation of concerns, you're also messing up an attribute with values that other developers will p…
I'm assuming the whole thing is a (pretty non-obvious) parody. If so, kudos to the creator – they had me for a moment there. EDIT just actually read the post properly "More to come, including jQuery-less js components. Please stay tuned!" :-)
Re: Show HN: Mimic – class-fied inline CSS
#56It's sad that this reminds me to the worst CSS framework I've ever used (and was forced to use): https://github.com/EasyBoxModel/EBM Check https://github.com/EasyBoxModel/EBM/blob/master/app/assets/c... to get the idea.
Re: Show HN: Mimic – class-fied inline CSS
#57Re: Show HN: Mimic – class-fied inline CSS
#58Going to be honest.. this doesn't look too well thought out. Something like z-index you have a class for values of 0 up to 100. Not necessary IMO. I'd recommend taking a look at Basscss for some inspiration. From my perspective, you're trying to create something similar to Basscss.
Re: Show HN: Mimic – class-fied inline CSS
#59Earlier quoted context omitted.
Thanks for taking a look, I appreciate everyone's opinion on things. Could you share why you think this way?
Because why wouldn't you just use inline styles if you really wanted to do this kind of thing?
Re: Show HN: Mimic – class-fied inline CSS
#60That's the equivalent of a front-end developper going into back-end, saying "screw this!" and hardcoding everything. Urgh. Also, you cannot use numbers as classes. That's not allowed and may mess up some browsers / devices.
Hi thanks for looking. Could you elaborate on your last statement?
The style definition might be ignored in some browsers. Some other might break when they see an invalid character and stop parsing your styles.
That being said, most modern browser will be able to parse the CSS without you needing to escape any characters.