Cutting the mustard
The browser is a hostile development environment and supporting a wide range of desktop browsers can be tough work.
One of the immediate challenges we discovered when we first started the responsive news prototype was the large range of devices that we would have to support. It terrified us. This article is about a solution we use to alleviate this problem.
This is a nice technique but I wouldn’t exactly call it elegant. Maintaining a copy of the content in the textarea just to set the height of the textarea is always a hack, no matter how clean the code is. This is pretty clean code though.
Very nice little trick.
still some issues, but interesting
I am fascinated by Nicole Sullivan’s oocss project. I have been hunting for the perfect approach to CSS for years. Oocss seems like the logical successor to some of the more successful approaches I’ve come across.
However, as a philosophy it doesn’t feel quite done. I think this is mostly about words, not the actual technique. For better or worse, HTML and CSS are inextricably linked. And indeed, the docs and examples on github show you the html required to make the css work.
The name oocss implies that it’s magicer than it is. It’s, in part, a formalization of the idea that with better HTML you can write better CSS; but HTML is definitely part of the technique.
All that said, the idea that we can use a relatively small library of HTML+CSS bits to make entire sites is totally hot. Don’t think you’ve heard the last of this.
