Library to rectify mistakes in the design of CSS. npmx.dev/package/@declanchidlow/fixcss
webdev front-end css fixcss
8

Configure Feed

Select the types of activity you want to include in your feed.

Improve clarity of purpose in README

Declan Chidlow (Jul 4, 2026, 10:11 PM +0800) 326a4cf5 cf5df5bb

+3 -1
+3 -1
README.md
··· 8 8 9 9 In the design of CSS, mistakes were made. In fact, quite a number. The CSS Working Group says as much, having published an [Incomplete List of Mistakes in the Design of CSS](https://wiki.csswg.org/ideas/mistakes/). 10 10 11 - This library rectifies these failings and allows writing CSS the way it _should_ have been designed. FixCSS automatically converts corrected property names, values, selectors, and syntax, as an illustration of what should have been. It also fixes newer syntax compromised by trying to maintain consistency with previous mistakes. 11 + This library rectifies these failings and allows writing CSS the way it _should_ have been designed. FixCSS automatically converts corrected property names, values, selectors, and syntax into spec-adhering CSS that browsers support as an illustration of what should have been. Newer syntax compromised by trying to maintain consistency with previous mistakes is also converted. 12 + 13 + For example, you can write `white-space: no-wrap` as mentioned as the first item in the list of mistakes, and this library will convert it to `white-space: nowrap` by the method of your choosing. 12 14 13 15 - [Available on NPM](https://npmx.dev/package/@declanchidlow/fixcss) 14 16 - [Demo on CodePen](https://codepen.io/editor/OuterVale/pen/019f1bb1-b2cc-7ad8-9dea-329cba5724d6)