Faking a top-level domain name for local development with Apache

Developing a website on your local webserver environment can become complicated when it comes to URLs. Not every CMS (looking at you WordPress!) has relative paths to their content. These full paths get placed in the database, which makes it harder to test and create content with pointers to wrong URLs.

This guide will tell you how to fake a top-level domain name so you can redirect any domain name to your local development environment and keep your source code in separate folders.

Faking a top level domain name for local development with Apache

read more

Keep the Rhythm: Vertical rhythm on objects having dynamic heights

That is a lot in one sentence, but basically it explains it all. Maintaining a vertical rhythm is hard enough by itself and takes a lot of time and thinking to accomplish.

The problem with maintaining a proper rhythm are objects (like images) that have dynamic heights. Like the images on this blog, or when you have clients uploading their content which isn’t perfectly resized / cropped to your line-height.

For this I created a jQuery plugin that fixes the rhythm: Keep the Rhythm.

Keep the Rhythm: Vertical rhythm on objects having dynamic heights

read more