Hey Sindre! I'm curious why you're only supporting Chrome and Firefox with this? Safari and Edge are still Modern browsers.
Both Edge and Safari are only rarely updated, and they're updated together with the operating system. Modern browsers auto-update themselves frequently. Those browsers also have such a small market share, so doesn't make sense to spend time on them. If you need to support them, you can use
Edit: I didn't consider Safari on iOS when making this statement.
Those browsers also have such a small market share
That's simply not true - including mobile, Edge and Safari make up ~20% and it's unlikely Edge's market share will do anything but increase.
Thanks for getting back to me. To be honest, It sounds like you just don't want to support them because you'd rather stick with Firefox and Chrome (which is totally fine, it's your product after all).
To me a modern browser isn't defined by it's release model, and as Simon said they both have a very large market share, something that shouldn't be disregarded. I'd be interested in hearing about the projects you work on that don't require support in those browsers.
After getting a lot of feedback, I've reconsidered and I've added Safari support.
I'd be interested in hearing about the projects you work on that don't require support in those browsers.
Any personal project, Electron apps, and some clients.
Edge updates pretty often. Safari is once a year, but it is so prolific...all iOS devices use it. I would love a trim, modern Normalizer.css, but you simply can't ignore Safari and Edge. Even IE11 should be considered (unless your analytics can prove otherwise).
Would you consider a PR that adds support for those browsers?
Just use Normalize.css. OP's project is basically a fork of it without support for Safari and IE/Edge.
I would utilize this but you used tabs over spaces… deal breaker. jk great stuff!
What about http://jonathantneal.github.io/sanitize.css/ ?
People who have iPhones don't deserve to be able to use websites anyways /s
A fork of Normalize that was a PostCSS plugin that took in config from autoprefixer and output only the needed reset would be a great next step.
This is really nice! I also like using Tommy Hodgins' extremely minimal "reset" CSS as well (for those looking for even a smaller footprint)