Hacker News new | past | comments | ask | show | jobs | submit login

When fully minified, it's actually 47 bytes: main{max-width:38rem;padding:2rem;margin:auto}

But I think the original is still well into the land of diminishing returns.

Agreed, but OP isn't serving minified content.

I brought up rem vs em because the difference is subtle and if you're byte shaving it's "free" bytes.

The author is not byte shaving. He states that he is striving for "simplicity," which isn't the same thing.

46 bytes if you take out the new line :)

45 if you remove the trailing }.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact