# FCSS 2 lets you write utility classes that are the actual CSS property names

Original title: FCSS 2: Utility CSS that reads like CSS

> Hacker News story 50060606 · language: en · submitted 2026-10-12
> Web version: https://zeli.app/story/50060606
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 5 · by [meerita](<https://news.ycombinator.com/user?id=meerita>) · 💬 9
[original](<https://github.com/meerita/FCSS2>) · [HN discussion](<https://news.ycombinator.com/item?id=50060606>)

## Summary

FCSS 2 is a utility CSS library where every class name is a real CSS property and value, so `padding--24` compiles to `padding: 24px`. Hover, ARIA, and breakpoint variants are part of the class name, there is no runtime, and a purge step strips unused classes from the roughly 28 MB core stylesheet. It works with Vite, Next.js, Astro, Angular, PostCSS, or plain HTML via CDN.

## Key quote

> If you know CSS, you already know FCSS.

## HN discussion (9 comments)

### [rhdunn](<https://news.ycombinator.com/item?id=50086719>)

> Over time I've come to find a balance between something like tailwind/FCSS (one class per CSS style) and Bootstrap (classes reflect components).
>
> Specifically:
>
> 1. provide a baseline of default styling on the HTML elements/attributes;
>
> 2. provide a set of classes for different layouts: grid, flex, masonry, etc.;
>
> 3. provide combinations of styles on the different elements: ol.flex/ul.flex removing the list type and padding, dl.grid providing a grid-style display list, etc.;
>
> 4. provide helpers to combine with the base classes or elements: flex.vertical to control orientation; flex.wrap/grid.wrap to wrap the layouts; *.centered for centered text; etc.

### [dankobgd](<https://news.ycombinator.com/item?id=50086444>)

> mfs will do anything except write normal css.

### [bemtevi](<https://news.ycombinator.com/item?id=50086574>)

> This looks just like the old HTML, where people would specify everything in the HTML code itself!

---

## Cite

- Page: https://zeli.app/story/50060606
- Date: 2026-10-12
- Source: github.com (https://github.com/meerita/FCSS2)
- Hacker News: https://news.ycombinator.com/item?id=50060606

## Other languages

- zh: https://zeli.app/zh/story/50060606 · markdown: https://zeli.app/zh/story/50060606.md
- ja: https://zeli.app/ja/story/50060606 · markdown: https://zeli.app/ja/story/50060606.md
- ko: https://zeli.app/ko/story/50060606 · markdown: https://zeli.app/ko/story/50060606.md
- de: https://zeli.app/de/story/50060606 · markdown: https://zeli.app/de/story/50060606.md
- es: https://zeli.app/es/story/50060606 · markdown: https://zeli.app/es/story/50060606.md
- ru: https://zeli.app/ru/story/50060606 · markdown: https://zeli.app/ru/story/50060606.md
