Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Sergey
    @Safe-Mode
    Hi, guys! How can I include normalize through gulp? I type to consol npm install --save normalize.css and what else?
    Jonathan Neal
    @jonathantneal
    How are you including it on your page? Direct <link> ? Bundled into existing compiled CSS?
    Sergey
    @Safe-Mode
    @jonathantneal bundle into compilled css
    Jonathan Neal
    @jonathantneal
    @Safe-Mode, what do you use to bundle? Sass?
    Sergey
    @Safe-Mode
    Sass
    Jonathan Neal
    @jonathantneal
    You can do something like npm install normalize.css --save and then use something like @import "node_modules/normalize.css/normalize"; in your Sass manifest file.
    Sergey
    @Safe-Mode
    by the way it doesn't matter at all) I've got stylelint that doesn't access vendor prefixes in sass files and I don't want fix it manually)
    @jonathantneal thnx a lot)
    Jonathan Neal
    @jonathantneal
    Could you tell stylelint to ignore the node_modules directory?
    It probably should anyway since you’d have no idea what’s in there.
    Sergey
    @Safe-Mode
    @jonathantneal no, I should use stylelint from my company. There no exclusions for normalize
    Jonathan Neal
    @jonathantneal
    So, the concern is that stylelint will see normalize.css in node_modules and flag it for the vendor prefixes?
    Sergey
    @Safe-Mode
    @jonathantneal I have checked, it's only watch to sass folder, it's alright)
    Jonathan Neal
    @jonathantneal
    Then you should be good to go, yea? :)
    Sergey
    @Safe-Mode
    @jonathantneal I'm good enough to go)
    Slim Hmidi
    @slim-hmidi
    hi
    Jonathan Neal
    @jonathantneal
    Hey
    Slim Hmidi
    @slim-hmidi
    Actually I have a point to be discussed about an spin arrow box. I open an issue about that #752.
    I don't know if the feature could be token into consideration into normalize or not, so I want to get any suggestions, point of view or clarification about this issue if I'm wrong
    Jonathan Neal
    @jonathantneal
    Removing browser defaults is not really a normalization.
    Slim Hmidi
    @slim-hmidi
    so this feature should be added as style in a different css file to take into consideration the change
    Jonathan Neal
    @jonathantneal
    It would not be added, because it doesn’t normalize browser behavior.
    You could add it to your own project.
    Slim Hmidi
    @slim-hmidi
    ok thanks
    Александр
    @RoBit666
    how use normalize.css in node js + ejs