Git Product home page Git Product logo

Comments (6)

jonathantneal avatar jonathantneal commented on May 28, 2024 3

Thanks for the feedback. At this time, it seems wisest to really cut down on the resets and focus on the defaults people really want and rarely redefine themselves on any element. Things like flex-flow will be cut. FWIW, it was a default passed around Twitter and incorporated in css-layout. Check out that project to see their defaults. Let me know what you think.

I plan on sanitize.css v4 being a kind of normalize.css with border-box and sprinkled inherit to make things behave similarly, and (I think) more sanely. Again, these defaults are for things you wouldn’t intend to overwrite later. This brings margin into question, actually. As much as zeroing out margin is great for most navigations, it’s not great when you’re writing p and ul tags in your content.

I really want this to be a library that helps people build a better web based on develop preferences, but never accidentally throwing the baby out with the bathwater, as they say.

from sanitize.css.

luixxiul avatar luixxiul commented on May 28, 2024

Default flex to columns (flex-flow: column).

I don't understand why this would be necessary. Is there any problem out there?

from sanitize.css.

filipelinhares avatar filipelinhares commented on May 28, 2024

I was having some problems so a I made a project called sanilize.css. It is a combination of sanitize and Normalize. It also removes some unexpected rules from sanitize.css like border-style: solid; border-width: 0.

Happy to hear sanitize.css is moving on 😄

from sanitize.css.

marcustisater avatar marcustisater commented on May 28, 2024

Sweet, I agree with the list you've made, not really much to add or argue about. However I do think setting default flex values should be considered even if I I do dislike the standard value we have today for flex.

from sanitize.css.

marcustisater avatar marcustisater commented on May 28, 2024

I will definitely have a closer look into this, will report with more detailed feedback.

from sanitize.css.

jonathantneal avatar jonathantneal commented on May 28, 2024

v4 is released!

from sanitize.css.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.