One Neat CSS Trick
Read ArticleUsing pseudo-selectors like :where and :not to invert style rules, allowing for better code encapsulation and context sharing across a codebase.
theAdhocracy
Using pseudo-selectors like :where and :not to invert style rules, allowing for better code encapsulation and context sharing across a codebase.
Animating a grid element provides a lot of potential for fancy UIs and interesting interactions, but it's not immediately obvious when searching online how it needs to work and what the limitations are.
Very high level guide to getting webmentions on your website, tracking them, and automatically pinging linked sites when you …
An interesting read that covers some of the basic terminologies of typesetting, as well as the technicalities of how browsers actually interpret the line-height value. Hint: it's not what you'd …
An interesting look at a "block links" at "card links": when you want large sections of HTML to be one big clickable link. It's a very common pattern and something I've done a lot, but …
A pretty exhaustive overview of the HTML and CSS options that we now have for responsive image layouts. Here are some key …
Great overview of how to deal with webmentions on a NextJS site. Should be applicable to other React SSGs like Gatsby. Useful …
A simple way to look at what [contain] provides is that we can give hints to the browser about the relationships of the various elements on the page.The general …
Carousels are the devil's work, but they remain incredibly useful and popular UI elements 😑 Having a solid implementation that will work without JavaScript, making it more lightweight and …
A neat trick (now third hand) for storing the scroll position of a sidebar or other element in local storage, allowing you to keep it constant across pages without the user seeing it flash into …
A selection of possible workarounds for animating CSS values with auto keywords (e.g. height, width, etc.). Not a huge fan of the Flexbox option, but the max-height trick is a very useful one to …
An interestingly regressive technique for expanding the size of a rectangle with rounded corners in CSS that protects the corners themselves from deforming, all by using …
My new PC is up and running and starting to be "just right" (we'll get to further details later, I promise), so one of the big "new" things I've got for the new year is a subscription to Adobe CC - …
An excellent collection of articles, tutorials, and advice on modern web development challenges. From PWAs to accessibility to caching, there's a lot of information …
Whilst putting together my new search page I ran into a problem: styling an input box so that it had a gradient border and rounded corners. Turns out there's a hack for that.
A very clever article (as ever) from Sara on how to ensure the content you create is accessible through RSS feeds and Reader modes (and a host of other …
Last night had no 100 words. Today, who knows. I did write them, they exist and are "published" on my Workflowy account, but website is currently barely …
Month in media is an archived project, now with a permanent home in the Reviews section. Films, TV shows, books, video games, and other media watched, read, or played in January 2017.
A few weeks ago I was lucky enough to spend a long weekend in Dartmoor. We ended up visiting Wistman's Wood for much of the first afternoon, which was so captivating we would have definitely spent …
Standard workday, standard work lunch catching up on RSS feeds. Of course, quite a few of them are discussing the leaked "Anti-Diversity" manifesto from the, now infamous, ex-Google employee (name …
I just fell down a rabbit hole learning about Dark Patterns, thanks largely to a link in an, as ever, well thought out Adactio post. To be clear, I knew what a Dark Pattern was, I just hadn't come …
I recently had need to embed a Flickr album, as I've done many times before. When I published the article, however, the album was broken and only showed a single image. Odd, sure, but I figured I had …
We have seven days in a week, 24 hours in a day – but what does that actually mean when trying to set aside time to work on side projects? Once you take into account work hours, time to eat and sleep, and everything in between, is it all as bad as it feels?
An attempted experiment to replicate the blog layout of ilovetypography.com, which uses floats to great effect, with more modern CSS Grid and Flex techniques. Turned out to not be quite so simple, but taught me a lot about the benefits and limitations of CSS Grid.
Migrating assets to a new CMS can be a complete pain, but working out which files go with each page or article on a website doesn't have to be a nightmare if you start with a solid foundation. For me, that means tightly coupling my folder structure on the server with my content structure on the website, a workflow that Craft is particularly nifty at automating.
A step-by-step guide to installing Craft CMS 3+ on the Arcustech hosting services, because sometimes all the command line steps can seem a little daunting if you aren't used to it!
It's my third time seeing Goldfish and the first time with Alison and pretty much all the usual suspects. In other words: it was amazing! Goldfish pulled out a blinder of a set, with several of their …
I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!
I finally made it to an IndieWebCamp meetup, even if it was remote only due to the increasingly restrictive implications of the coronavirus. I learnt a lot, I had a great time, and I'm ready to start implementing a whole bunch of new ideas right here. I also took a huge number of notes from the speakers and sessions throughout the day.
Having trouble with Windows 10 and wallpaper slideshows? There's an app for that... actually, quite a few, they're just hard to find, so I curated a few that I've stumbled across for you.