CSS Findings From The Threads App: Part 2
A few interesting CSS findings from the threads app by Meta.
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 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.
This tool will help you master multi-hued, multi-stops color scales. What is that? “While a (linear) variation in lightness is the most important quality of a sequential color scale, varying the hue can bring further significant improvements. Hue variation provides a better color contrast and thus makes the colors easier to differentiate.” — Learn more here.
Practical CSS and design tips that helps in building future-proof user interfaces.
CSS data visualization framework
Patrick Brosset has an impressive deep dive into CSS gradients.