13 comments

  • Luke Whitehouse, over 1 year 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
    • , over 1 year 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, over 1 year 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, over 1 year 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
        • , over 1 year ago

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

          0 points
        • , over 1 year 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, over 1 year 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, over 1 year ago

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

    3 points
  • Johannes WeberJohannes Weber, over 1 year ago

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

    1 point
  • Ryan Slama, over 1 year ago

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

    0 points
  • Amazing RandoAmazing Rando, over 1 year 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, over 1 year 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