Ask Nettuts #1: Callbacks, LESS, and Floats
“Today marks the first entry in a new ‘Ask Nettuts’ series. I’m often emailed concerning various web development related questions. Though some are more specific than others, many of these, I’m sure, would appeal to all of our readers. As such, each week or so, we’ll post a new batch of question and answers from the community, in both article and video form, for your convenience.
“This week, we discuss JavaScript callback functions, a LESS compiler, and those tricky CSS floats.”
Quick Tip: You Need to Check out LESS.js
“You might be familiar with such services as LESS and Sass. They allow for far more flexibility when creating your stylesheets, including the use of variables, operators, mix-ins, even nested selectors. However, because LESS was originally built with Ruby, a lot of PHP developers, despite the fact that there are PHP versions available, never used it.
“That’s all going to change now that LESS is being rewritten in JavaScript, is about forty times faster than the Ruby version, and can be used by any of us!”
