https://enterprise.github.com/ http://twitter.github.io/bootstrap/
1,007 karma · joined March 23, 2012
https://enterprise.github.com/ http://twitter.github.io/bootstrap/
In your example you're referring to the max-width of the viewport. In Ian's example, he's referring to the max-width of the `.testimonial` element itself.
1) What `this` means in a function context https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...
2) The prototype chain and prototypal inheritance https://developer.mozilla.org/en-US/docs/JavaScript/Introduc...
3) Function closures and variable scoping https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Cl...
He argues (and I agree) that prototypal inheritance isn't complicated unless you're coming from a very classical inheritance background.
Examples: https://gist.github.com/1309546 http://nicolasgallagher.com/about-html-semantics-front-end-a... http://csswizardry.com/2013/01/mindbemding-getting-your-head... http://engineering.appfolio.com/2012/11/16/css-architecture
I started with this approach when I built our tooltip library for my company, but eventually there were just too many gotchas. We switched to using JavaScript and inserting the generated element as a child of `body`.
The file size issue isn't really that much of a concern unless you're on a really large site, but specificity issues affect everyone.