Blog

Controlling CSS rems with Sass and LESS (sort of)

Everyone knows that ems are great for responsive design. All that relative sizing juiciness goes hand in with flexible layouts but some of the annoyances make reaching for pixels the more favourable option. My two main gripes with ems They inherit parent em sizing and make calculating the resulting size a pain...

Syncing MAMP databases with Dropbox

Just a simple tip on how to use a symlink to sync your MAMP databases into your Dropbox. This makes working on dynamic sites a breeze when moving between different computers. Move the current databases First thing to do is move your mysql folder into Dropbox. It can be found...

Background Position: Shorthand Syntax

Whilst it’s easy to be swept up in the flashy world of animations and transitions, CSS3 also offers more subtle improvements to other parts of the specification. One of those is the background-position property, which now allows greater control over the offsets of an image. Considering the flexibility that the position...

Writing AMD compatible plugins for jQuery

I’ve been tinkering with jQuery a lot these days. My love for the Moo is still strong, but I like switching around from time to time. I also find myself using RequireJS for almost every project big or small and I decided to find a nice way to write jQuery...

Global settings with AMD

Upon switching your app or website over to AMD the need to rely on global variables is a thing of the past, but it does raise one question, how do you maintain global settings? Prior to using AMD it would be solved by just namespacing an object with any settings...