Nested `border-radius` issue and solution(s)
The Classic Border Radius Advice, Plus an Unusual Trick – Frontend Masters Boost
When you nest elements with border-radius, the inner element needs less radius than the outer element.
This is some classic advice on this, and a future-looking fix.
On compliance vs readability: Generating text colors with CSS • Lea Verou
Popover element entry and exit animations in a few lines of CSS | pawelgrzybek.com
Creating entry and exit animations for elements has always been tedious. Nowadays, we can do it with just a few lines of pure CSS, without a single line of JS.
Modern WordPress - Yikes! – David Bushell – Freelance Web Design (UK)
The one where I share my dislike for WordPress (again)
jantimon/text-box-trim-examples: text-box-trim examples and playground (previously known as leading-trim)
text-box-trim examples and playground (previously known as leading-trim) - jantimon/text-box-trim-examples
Color Picker
Effortlessly extract vibrant colors from images in RGB, HEX, and HSL formats.
Hardest Problem in Computer Science: Centering Things
Somehow we forgot how to center rectangles and must find our way back
Popover Attribute Polyfill
Cally: small, feature-rich calendar components
Open source calendar components for selecting single dates or date ranges. Framework-agnostic, themeable, localizable, accessible.
CSS { In Real Life } | Anchor Positioning and the Popover API for a JS-Free Site Menu
A blog about CSS, front-end development, the web, and beyond.
HTML Web Components
Last week, Jeremy Keith wrote about what he calls HTML Web Components.
Some people treat Web Components like JS library components, where everything is rendered with JavaScript. But Jeremy has a different suggestion…
Try not to bring React’s mindset with you…
Think about composibility with existing materials. Do you really need to invent an entirely new component from scratch? Or can you use HTML up until it reaches its limit and then enhance the markup?
jgarber623/aria-collapsible: A dependency-free Web Component that generates progressively-enhanced collapsible regions using ARIA States and Properties.
A dependency-free Web Component that generates progressively-enhanced collapsible regions using ARIA States and Properties. - jgarber623/aria-collapsible
The Modern Guide For Making CSS Shapes — Smashing Magazine
In this comprehensive guide, Temani Afif explores different techniques for creating common shapes with the smallest and most flexible code possible.
On-Scroll Filter Effects | Codrops
Vector Halftone Maker - Interactive PNG/SVG halftone pattern generator
Create Hexagonal, Square and Radial grid dotted/pixelated patterns for free. PNG and SVG export available.
Voronoi Editor
Combining CSS :has() And HTML select For Greater Conditional Styling — Smashing Magazine
Amit Sheen demonstrates using `:has()` to apply styles conditionally when a certain `` in a `` element is chosen by the user and how we gain even more conditional styling capabilities when chaining `:has()` with other pseudo-classes, such as `:not()` — no JavaScript necessary.
Layer Cake
A framework for mostly-reusable graphics with svelte
CSS { In Real Life } | Shades of Grey with color-mix()
A blog about CSS, front-end development, the web, and beyond.
JSONGenerator.io - Create Random JSON Data
Unleash the power of templates to generate, modify, and visualize JSON data with ease.
Fluid for Tailwind CSS
A Tailwind plugin to easily generate fluid clamp() values with every utility.
Easy Gradient Palettes - Pausly blog
Learn about our Oklch Palette Generator, a tool designed to simplify creating gradient palettes by ensuring uniform lightness and vibrant colors.
Oklch Palette Generator
CSS relative color syntax | Blog | Chrome for Developers
Create new colors based on another color's channels and values.
Detect JavaScript Support in CSS
Description
Self-Modifying Variables: the inherit() Workaround
Style queries will unlock many doors. An ability to alternate a value of any variable that I presented in my previous article might seem to be trivial by itself, but what if there is a hidden depth in how we can utilize it? One interesting case is the ability to emulate `inherit()` — a way to access the previous state of a custom property.
Web Components from early 2024
I’ve been having a lot of fun creating reusable Web Components, so here are three that I’ve built and been using this so far this year.
sveltia/sveltia-cms: Alternative to Netlify/Decap CMS. Modern, fast, lightweight, Git-based headless CMS. Free & open source. UX-driven development. Made with Svelte.
Alternative to Netlify/Decap CMS. Modern, fast, lightweight, Git-based headless CMS. Free & open source. UX-driven development. Made with Svelte. - sveltia/sveltia-cms
Primo
Primo is a visual CMS that makes it a blast to build pages, manage content, and edit code - one block at a time.