13 comments

  • Luke Whitehouse, almost 2 years ago

    Hey Sindre! I'm curious why you're only supporting Chrome and Firefox with this? Safari and Edge are still Modern browsers.

    5 points
    • , almost 2 years ago

      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 normalize.css.

      Edit: I didn't consider Safari on iOS when making this statement.

      0 points
      • Simon EvansSimon Evans, almost 2 years ago

        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.

        5 points
      • Luke Whitehouse, almost 2 years ago

        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.

        1 point
        • , almost 2 years ago

          After getting a lot of feedback, I've reconsidered and I've added Safari support.

          0 points
        • , almost 2 years ago

          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.

          0 points
      • Elliott ReganElliott Regan, almost 2 years ago

        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?

        1 point
  • Brandon CrooksBrandon Crooks, almost 2 years ago

    I would utilize this but you used tabs over spaces… deal breaker. jk great stuff!

    3 points
  • Johannes WeberJohannes Weber, almost 2 years ago

    What about http://jonathantneal.github.io/sanitize.css/ ?

    1 point
  • Ryan Slama, almost 2 years ago

    People who have iPhones don't deserve to be able to use websites anyways /s

    0 points
  • Amazing RandoAmazing Rando, almost 2 years ago

    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.

    0 points
  • Bradley TauntBradley Taunt, almost 2 years ago

    This is really nice! I also like using Tommy Hodgins' extremely minimal "reset" CSS as well (for those looking for even a smaller footprint)

    https://github.com/tomhodgins/preset

    0 points