Dev

31 Oct 2017

Forgotten CSS: Printing Your Website

CSS Dev

How does your websites look when it’s printed? This article aims to get you thinking about basic changes you can implement to make your site display well for print media. Before we jump in, clearly not all websites benefit from… Read On

05 Sep 2017

Remove Unused CSS Rules

CSS Dev

A monolithic style sheet is difficult to reason about, which is challenging as CSS files tend to attract bloat. Removing unused styles can help make the situation more manageable. Before we start searching for unused styles it’s worth pointing out… Read On

20 Jul 2017

Template Toolkit – FOREACH Directive

Dev Perl

I have recently been working on a project where the majority of the front end is rendered via Template Toolkit (TT), a popular templating engine for Perl (and for Python). This article looks at the `FOREACH` directive and a couple… Read On

08 May 2017

Using lighten() and darken() in SASS

CSS Dev

Until recently I didn’t know about the lighten() and darken() functions in SASS. I’ve since found them to be increasingly useful in my component building workflow. As the names suggest, given a colour and percentage, these functions will return a… Read On

23 Jan 2017

Aligning Text in Vim

Dev SysAdmin Vim

Did you know you can center align text in vim? From a visual selection, run :center. This aligns the text on the assumption that the width of the document is textwidth, or 80 characters by default. You can also manually… Read On

 1 2 3 5