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

The reset is reasonable except the antialiasing line. Shame. It was discussed just a couple of days ago on HN.



I cannot stress this enough:

    -webkit-font-smoothing: antialiased
Looks _horrible_ on non-retina (read: most external) monitors with macOS. Browsers have sane defaults for every OS! Please retain them rather than making me install TamperMonkey just to read your blog.


Why isn't this a setting in the browser or the OS?


Do you mean this [0]? Because that post is from before apple's recent changes to font rendering in Mojave.

[0] https://news.ycombinator.com/item?id=29328838


Not read it? Shame. It addresses that very article


Things maybe be "addressed," but that doesn't make them right.

> Apple disabled subpixel antialiasing across the operating system

Right, so what is he disabling exactly?

> Chrome and Safari still use subpixel antialiasing by default

Wrong. They do not. Zoom in yourself. There are no colored pixels.

That CSS line basically acts as a `font-weight: -=100` across the document. That's all it does, and that does not belong to a CSS reset. You might as well set the rest of the `font` properties and call it a regular stylesheet.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: