Sass @content

While digging through some code earlier today, I saw @content for the first time, but it arrived in Sass in 3.2.0. They say you should learn something new every day, well I certainly did! What it does, it makes your code cleaner, by enabling you to write less code. Let's use an icon font mixin as an example. Take the following mixing. @mixin icon($character) { &:before { font-family…

Why I Gave Up Freelancing

Surprisingly, I haven't had this question a lot, but I think it's worth sharing my thoughts on why I left the world of freelancing in favour of a full time job, of sorts. For a lot of this to make sense, we need some context. So let's go back a few years. This is a long one, grab a drink. After a year of doing really cheap sites for artists…

Adding a Photo Layout to Ghost

I've always loved photography. It's rare that I take a really good photo though, but for when I do, I want to share it. I like Instagram and all that, but sometimes I want to share a photo that isn't square and locked at a tiny resolution of 612px. So, this weekend, I decided to add a photo layout to this blog. The idea is basically to let images grow…

Vertical Alignment

Many people have written about vertical alignment in CSS before. I'm not going to present some brand new technology to help with it, but explain the pros and cons to a few techniques, so hopefully you'll find one that's suitable for whatever you're working in. Note: There are other ways to vertically align in CSS. A lot of others don't degrade gracefully when the vertically centred content is taller than…

I am a Ghost

On April 2nd 2012, I left the world of full-time work and started freelancing. I've had a lot of fun and some some amazing with for brilliant people. I gave it a damn good go, but ultimately, it wasn't for me Today, I am excited to announce that I am joining Ghost as a Front-End Architect. How do I feel? Really fucking excited.…