Published: Sat 24 Oct 2020

Website Colours Decided by Time

This is a small proof-of-concept in which the colours of a website change based on the time of day.

Published: Tue 13 Oct 2020

What Percent of Time Is It?

Here's a small repo/example I set up, updating the <meter> element with JavaScript, depending on the current date/time.

Published: Mon 12 Oct 2020

Refactoring Some Old Code

I was working on a 5-year old codebase today. Here's a tiny section of CSS that I think I tidied up quite nicely.

Published: Fri 13 Sep 2019

Writing View Mode Templates in PatternLab

Wanna know my rules when I am writing templates in PatternLab for Drupal view modes such as teasers, cards, search results, etc? Read on, my friend...