sindresorhus

modern-normalize

๐Ÿ’ Normalize browsers' default style

by sindresorhus

TypeScript

TypeScript88%
CSS6.7%
HTML5.3%

Commit activity

Last 12 weeks ยท 1 commit

Full graph โ†’

Community health

4 of 6 standards met

Community profile โ†’
85
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Active ยท Last activity 1mo ago
See all on GitHub โ†’
maurer2

Hello, It appears that both Chrome and Safari now use as the default border colour for tables in line with the specs: https://developer.chrome.com/release-notes/149#remove_explicit_border_color_ua_stylesheet_rule_for_tables https://developer.apple.com/documentation/safari-release-notes/safari-18_4-release-notes#Resolved-Issues (second "Resolved issue" section) As a result, the reset for on tables could be removed once Chrome 149+ adoption becomes more widespread. Safari 18+ already appears to have significant usage. Cheers

maurer2 ยท 3mo ago
sindresorhus

It was not included in the initial PR, as per this blog post, it's not yet safe to use. We need to move on soon though, as Chrome plans to deprecate the font name, per https://github.com/sindresorhus/modern-normalize/pull/16#issuecomment-364504396. Also see: https://github.com/primer/primer/pull/408

sindresorhus ยท 3mo ago
rjgotten

Counter to the common trend, it is _not_ always 'awesome' or 'FTW'. It wreaks havoc with expectations stemming from normal browser defaults, which makes it harder to integrate into existing properties and makes it harder to integrate anything created by third parties that are not operating off of the same opinionated principle. It's also a total pain in the ass to selectively undo with override rules, as it's reapplied on every element. At the very least you could use I'd think, which makes it at least _somewhat_ easier to selectively cut this awesomely annoying behavior out?

rjgotten ยท 3mo ago
franktopel

see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/. Even Paul Irish, original author of the fix currently part of modern-normalize, has agreed on this and edited his origjnal post back from 2021: https://www.paulirish.com/2012/box-sizing-border-box-ftw/ This will also fix https://github.com/sindresorhus/modern-normalize/issues/48.

franktopel ยท 3mo ago
Structured data for AI agents

Repository: sindresorhus/modern-normalize. Description: ๐Ÿ’ Normalize browsers' default style Stars: 7423, Forks: 400. Primary language: TypeScript. Languages: TypeScript (88%), CSS (6.7%), HTML (5.3%). License: MIT. Topics: css, css-library, css-reset, normalize, normalize-css, npm-package. Latest release: v3.0.1 (2y ago). Open PRs: 2, open issues: 26. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, atjn, kripod, teddybradford, nuxodin, jakejarvis, jamiebuilds, JohnAlbin, spacedawwwg, xPaw and others.