Choosing CSS Selectors for Production: Specificity, Modern Pseudo-Classes, and Maintainable Styles
Struggling with CSS selector specificity in production? Learn when to use :has(), :is(), and :where() to keep styles predictable and maintainable.
Search fresh public links, source activity, and ready-to-use post angles for Maintainable Css.
Fresh curated links around Maintainable CSS are collected here so marketers can spot useful updates and turn timely ideas into posts faster.
Recent items include:
Recent curated links from global sources. Generate one free draft from any story, then use SocialBu to schedule and refine your content calendar.
Struggling with CSS selector specificity in production? Learn when to use :has(), :is(), and :where() to keep styles predictable and maintainable.
The last remaining reason to compile your CSS has just disappeared.CSS Style Queries have reached Baseline support across all major browsers, and they unlock something we've wanted...
I remember when building a simple dropdown menu or a sticky header required a library like jQuery. Later, we moved to writing Stimulus controllers or React hooks for every single t...
https://railsdesigner.com/building-customizable-tailwind-themes/ — Using OKLCH you can tweak one custom property, e.g. :root { --color-value: 60; } and get a UI in all the colours...
Привет, Хабр!Я начал использовать медиа-запросы ещё в 2011 году. Помню, как на работе руководитель подарил мне книгу Итана Маркотта «Отзывчивый веб-дизайн». В тот день я даже не ра...
There are many ways to create memorable experiences. Sometimes it's as simple as a form that completes smoothly. But here I'm interested in sharing techniques I reach for when I wa...
The CSS @custom-media at-rule allows creating aliases for media queries. @custom-media originally handwritten and published with love on CSS-Tricks. You should really get the news...
Seventy percent of websites still fail basic WCAG contrast checks in 2025. After years of design system tooling, accessibility linters, and JavaScript libraries, nothing moved the...
Open the inspector on any Linear card, any Stripe input, any Vercel panel. Look for the border. Now look at the box-shadow property…Continue reading on UX Planet »
I remember when building a simple dropdown menu or a sticky header required a library like jQuery….
It’s common for Rails applications to serve massive CSS files filled with unused Bootstrap, Tailwind, or custom utility classes as projects grow.
Originally appeared on Rails Designer Blog.A little while ago I was asked to to build a “white-label” feature into an existing app. Their customers can now customize the app to mat...
Whenever I find myself needing to update a previous blog post, I either correct it inline and add a small note on top, for small tweaks, or write a whole new piece for larger chang...
Cascading Style Sheets, or CSS (as it is commonly referred to), is a simple design language intended to simplify the process of making web pages presentable. It is a powerful tool...
Every view-transition-name on a page must be unique. The problem is that every pseudo-element selector in your CSS targets a specific name, so your animation styles explode into an...
The @function at-rule defines CSS custom functions. These custom functions are reusable blocks of CSS that can accept arguments, contain complex logic, and return values based on t...
Originally appeared on The Rails Tech Debt Blog.It’s common for Rails applications to serve massive CSS files filled with unused Bootstrap, Tailwind, or custom utility classes as p...
Originally appeared on The Rails Tech Debt Blog.It’s common for Rails applications to serve massive CSS files filled with unused Bootstrap, Tailwind, or custom utility classes as p...
rails-css_unused is a static analysis gem that scans your stylesheets and all view files to report CSS classes that are defined but never used — no server required, no browser, pur...
I opened the STP 246 notes between meetings and ended up writing four little test stylesheets before I closed the tab, which is usually how a release earns its keep. The short vers...
Каждый раз, когда я хотел поправить отступ или цвет в процессе разработки, я делал одно и то же:открыл DevTools → нашёл элемент → поменял значение → понравилось → скопировал → пере...
Хабр, привет!В прошлом месяце я опубликовал статью с вопросами о HTML. Неожиданно для меня, она понравилась многим и стала одной из самых популярных за последнее время. Раз так пол...
You can write clean code. Your logic is solid. Your app works perfectly.Continue reading on UX Planet »
Use SocialBu to discover ideas, generate post drafts, and schedule them across your social channels.