Hanging punctuation in CSS
A little fix for Safari.
SuperGeekery: A blog probably of interest only to nerds by John F Morton.
Welcome to my link library. These are not links to content I have created unless you see that mentioned in the link’s description. These are links I found interesting enough to want to keep track of. If you read Craft Link List, the Craft CMS newsletter I used to write, this page is a replacement of sorts for that exercise. Enough talk. Let’s hit the links.
A little fix for Safari.
Learn how to use CSS container queries today.
text-wrap: balance elevates responsive design by auto-balancing text lines. Learn its limitations, browser support, and meet its new sibling, text-wrap: pretty.
Velvette is a library that allows you to specify in a declarative way how your transitions should behave, in isolation or as a response to a navigation, and then apply the declaration to a particular ViewTransition, NavigateEvent, or use it to handle cross-document (“MPA”) navigations.
Sometimes, improving your application CSS just takes a one-line upgrade or enhancement! Learn about 12 properties to start incorporating into your projects, and enjoy reducing technical debt, removing JavaScript, and scoring easy wins for user experience.
Sometimes, improving your application CSS just takes a one-line upgrade or enhancement! Learn about 12 properties to start incorporating into your projects, and enjoy reducing technical debt, removing JavaScript, and scoring easy wins for user experience.
With :has() landing in Chromium 105. Let’s take a look at some of the awesome opportunities it brings to our CSS!
CSS is undergoing a “quiet renaissance,” incorporating many significant features that previously required external tools into the native parts of the language.
Opt-in optimized text wrapping, for beauty over speed.
Set the numbers and units of your columns and rows, and generate a CSS grid. Drag within the boxes to create divs placed within the grid.
A few interesting CSS findings from the threads app by Meta.
A Tailwind CSS plugin to generate utility classes for interpolated fluid type and space scales based off utopia.fyi — cwsdigital/tailwind-utopia: A Tailwind CSS plugin to generate utility classes for interpolated fluid type and space scales based off utopia.fyi
Encode SVGs easily to more easily style them with CSS and JS.
Fluid responsive design. Utopia is not a product, a plugin, or a framework. It’s a set of free tools to support your next Utopian project.
Learn how to migrate a frontend app from Webpack to Vite, including why you should do it, and how to install Vite and update plugins.
A few interesting CSS findings from the threads app by Meta.
What if I will tell you how we could solve fit-to-width text with pure CSS without any hardcoded parameters? Curiously, scroll-driven animations will allow us to do just that! Join me as I continue exploring the experimental implementations of the latest specs.
CSS mix blend modes provide an easy, yet powerful way to create visually interesting designs.
Applying a shadow to a sticky page header when scrolling using the Intersection Observer API.
To learn more about the behaviors of container query units, we’ll explore three fluid typography techniques applied via a “mixin” using custom properties. These upgraded methods will produce truly responsive typography, regardless of context.
Format ordered lists in contract format. Top-level ol > li styled as “1.” with nested, ol ol > li, styled as “1.1” and third tiers, ol >ol > ol > li, styled as “1.1.a”.
Demo of the ‘goo’ filter as shown in this video: https://twitter.com/snorklTV/status/1638257124126912522
A new API is coming to the web platform to help you position elements in an adaptive way with no tricks.
This is my favourite thing to do with the :nth-of-type()
selector.
This file in the aboutfeeds repo will transform your raw-looking RSS feed into a styled document when users click on your feed icon. It will now include instructions helping the user understand how to use feed icons across the web.
Quickly calculate any CSS selector specificity score along with explanations. With full support for complex CSS selectors.
A side-effect when showing scrollbars on the web is that the layout of the content might change depending on the type of scrollbar. The scrollbar-gutter CSS property aims to give us developers more control over that. Works in Chrome and Firefox. No support in Safari yet.
Calculating a fluid font size can be tricky. This is the tool I use to make precise fluid typography with the clamp
CSS function.
Adam Argyle has a post on using the View Transition API, which is still a canary feature now, to power text transition with CSS.
Create, edit and save Tailwind CSS color shades based on a given hexcode or pick a color from an image.