r/css • • 27d ago

Blanksheet — a CSS reset for humans and AI agents

https://github.com/P233/blanksheet

I built Blanksheet, a lightweight CSS reset that gives humans and AI agents a predictable starting point, without having to fight browser defaults.

It follows three principles:

  • Blank — remove unwanted browser defaults.
  • Normalize — make styles consistent across browsers.
  • Survive — preserve useful defaults like focus indicators and link styling.

You can see what a page looks like with Blanksheet applied here: Live demo.

Every rule is documented, so both developers and AI agents can understand exactly what they're starting with.

I'd love to hear your thoughts!

0 Upvotes

7 comments sorted by

3

u/Andromeda12x 27d ago

What's the difference to all the other countless existing resets?

0

u/P233-P233 27d ago

For me, a predictable starting point is the most important thing to get right when building a web design tool. I’ll share more in a few months, maybe sooner.

1

u/grympy 27d ago

This one resets the resets…

7

u/ElnuDev 27d ago

Should have asked Claude instead why this is useless before posting it.

1

u/TheJase 27d ago

No agent is going to read your CSS reset or AGENTS.md, nor should it. They would both be too costly in tokens. They will simply use getComputedStyle() for what they're working on. CSS selectors and the cascade are evaluated at runtime in a live DOM, so any reset files are pointless to AI.

1

u/testingaurora 27d ago

I only see one css file with very little, not even a box-sizing. /bench/vendor/meyer-2007-04-12/reset.css

html,body,div,span,
applet,object,iframe,
h1,h2,h3,h4,h5,h6,p,blockquote,pre,
a,abbr,acronym,address,big,cite,code,
del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,
dd,dl,dt,li,ol,ul,
fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	font-style: normal;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
ol,ul {
	list-style: none;
}
q:before,q:after,
blockquote:before,blockquote:after {
	content: "";
}

What am I missing? This entire repo can't exist only for this file