CSS Tricks Article - Create Tag Cloud with CSS and JavaScript Just had my first article for CSS Tricks published, where I wrote about creating a tag cloud using some very simple CSS and JS.
Create View Mode Component and Views List in PatternLab and Drupal Here are two short, related videos demoing how I create a view mode component, use that view mode in a views list in Patternlab, and then integrate both with Drupal.
A List of Every Named-CSS Colour I created a small page to display every named-css colour (or color, depending on your flavour (or flavor!) of English)!)
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.
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.
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.
Get the Semantics Right, then the Styling Right: Try to Keep Everyone Happy The web is a publishing platform. First things first, we should get our semantics right, just like we expect a book publisher to do.
Live demo: Using GatsbyJS to Build a Decoupled (Drupal) Website Live Demo - what could possibly go wrong - building a decoupled website using Drupal as the content source and GatsbyJS for the frontend.
Printing Values of a Parent Node from a Drupal Paragraphs Field Someone asked in Slack today how to print the URL of the node that a paragraph is on. I was up to the challenge.
Viewing Your Website in Print Mode when Creating Print Stylesheets Don't want to hit print, then save as PDF, then open the PDF viewer ... again and again and again?