Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Hate your co-workers? Start using unicode whitespace css classes (jsbin.com)
19 points by SchizoDuckie on May 5, 2014 | hide | past | favorite | 7 comments


I have to give some kudo's to http://davidwalsh.name/unicode-css-classes for pointing out that you can use unicode css classes here. My evil brain did the rest.

For any of you that come here after a 5 hour search for why your styles are messed up: Sorry :P


Another use of this trick - use these unicode spaces as white space between two words. So a single class of ".super cool", when applied to the html, would look like you were applying two separate classes.


Or if you're truely evil, you insert the zero-width space inbetween .supercool and .super᠎cool


Does this work on IE?


http://i.imgur.com/8ZyY4W2.png

Works on IE7.

IE6, well nevermind..


This is hilarious!


So good. hahahaha




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: