I recently read declarative design by Jeremy Keith. In the post he discusses different approaches to writing CSS in terms of declarative or imperative design where declarative is used to describe CSS authoring techniques that leverage the power of CSS and the cascade such as Utopia Every Layout and intrinsic design and imperative for tools such as Tailwind.Read Article
My name is Chris, I'm an experienced full-stack Ruby on Rails devloper. I've beeen building things on the web for over 15 years.
I am passionate about performance, progressive-enhancement, semantic HTML & writing readable, well-tested code.More
I came across an issue this week where I accidentally added a 301 redirect to a page on a site I was working on. The issues was that Chrome aggressively caches 301 redirects, and as this had been added in error I needed to find a way to 'undo' the redirect. It took me quite a while to find the solution to this, but in the end it was deceptively simple.Read Article
Last time I walked through setting up a simple notice component that could display messages to a user, and communicate status using icons and color. In this post we'll devlop that component further to add some interactivity with Stimulus JS.Read Article