I switched from tabs to spaces and haven't looked back

Written on

Last week I started using spaces to indent code instead of tabs. It's something I swore I would never do, but I'm glad I finally did.

CSS shapes are here

Written on

Here's something exciting from the CSS world: shapes!

CSS reset with box-sizing fix

Written on

For ultra lightweight projects where a framework is overkill, I tend to use Eric Meyers' CSS reset. And since I'm not a glutton for punishment, I also throw in the tried and tested box-sizing fix popularized by Paul Irish. Instead of searching for and combining these snippets every time I need them, here's a paste-ready version for convenience.

What can you do with a single <div>?

Written on

If I told you to make something using only CSS and a single <div>, would you be able to create something incredible?

Stop trying to build the next unicorn

Written on

So, you're building the next big thing? You say you're going to make millions and have a fancy office building out in the valley? That's cool. By the same odds we'll both be rich, because I'm holding tonight's winning lotto ticket.

BrowserStack: stop using virtual machines for browser testing

Written on

Sick of booting up an entire virtual machine (VM) just to test something in IE? With BrowserStack, you don't need VMware or VirtualBox. Just enter a URL and instantly test on just about any browser you can think of.

I'm taking "startup" back

Written on

The word "startup" has taken on a very unfortunate meaning over the years. I used to think of my own business as a startup, but as its definition evolved, I quickly realized I didn't fit that description at all.

Hide the mouse cursor with CSS

Written on

I know you can change the mouse cursor using CSS, but I never realized that you can actually hide it altogether.

How to leave a console greeting for your visitors

Written on

Since my audience consists primarily of web developers, I decided to try a little experiment the other day. I added a console greeting to the site for anyone who decides to look under the hood. Here's how I did it.

Subtle Patterns: hundreds of free backgrounds that tile

Written on

I've been using Subtle Patterns for quite some time now. All the patterns are great, and their Photoshop plugin is incredibly useful.