csskit

Refreshing CSS

Beautiful, fast, and powerful CSS tooling with zero configuration

Everything you need for modern CSS

csskit fmt styles.css
Before
body{color:red;background:white;border-color:#ff0000}
After
body {
	color: red;
	background: white;
	border-color: #ff0000;
}
csskit lint styles.css
Input
.btn {
	color: #ff0;
	backgrond: blue;
	margin: 10px 5px 10px;
}
Suggestions
					
  ร— Invalid property name
   โ•ญโ”€[example.css:21:15]
 2 โ”‚		color: #ff000;
 3 โ”‚		backgrond: #ff000;
   ยท		โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€
   ยท		    โ•ฐโ”€โ”€  Did you mean background?
 4 โ”‚		margin: 10px 5px 10px;
   โ•ฐโ”€โ”€โ”€โ”€
					
				
csskit min styles.css
Before
.header {
	background-color: #ffffff;
	padding: 20px 16px 20px 16px;
	margin: 0 auto;
	border-radius: 8px;
}
After
.header{background:#fff;padding:20px 16px;margin:0 auto;border-radius:8px}
csskit transpile styles.css
Before
:heading {
  font-weight:600;
}
After
:is(h1,h2,h3,h4,h5,h6) {
  font-weight:600;
}
csskit bundle src/styles/
Multiple files
๐Ÿ“ src/styles/
โ”œโ”€โ”€ base.css
โ”œโ”€โ”€ components.css
โ””โ”€โ”€ utilities.css
Bundled output
.btn{padding:8px 16px;border:none}.card{background:#fff;border-radius:4px} .mt-4{margin-top:1rem}

Why csskit?

โšก Blazing Fast

Built for performance. Process thousands of CSS files in milliseconds.

๐Ÿš€ Zero Config

Works out of the box with sensible defaults. No complex configuration files to manage.

๐Ÿ”ง All-in-One

Replace multiple tools with one. Format, lint, minify, and analyze in a single package.

๐ŸŒŸ Modern Standards

Built on the latest CSS specifications, with weekly updates.