csstools / postcss-normalize

Use the parts of normalize.css (or sanitize.css) you need from your browserslist
Creative Commons Zero v1.0 Universal
816 stars 40 forks source link

Output format #15

Closed ai closed 7 years ago

ai commented 7 years ago

package.json:

  "browserslist": ["last 1 edge version"],
  "postcss": {
    "plugins": {
      "autoprefixer": {},
      "postcss-normalize": {}
    }
  },

Output:

hr {overflow: visible
}
abbr[title] {text-decoration: underline;text-decoration: underline dotted
}
b,
strong {font-weight: bolder
}
button,
input {overflow: visible
}
button,
select {text-transform: none
}
legend {box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal
}
details {display: block
}

Expected output:

hr {overflow: visible}
abbr[title] {text-decoration: underline;text-decoration: underline dotted}
b,strong {font-weight: bolder}
button,input {overflow: visible}
button,select {text-transform: none}
legend {box-sizing: border-box;color: inherit;display: table;max-width: 100%;padding: 0;white-space: normal}
details {display: block}
jonathantneal commented 7 years ago

I’ve changed this in 2.0.1, so now it nodes should act like they do whenever new PostCSS nodes are generated.

ai commented 7 years ago

Thanks for fast fix, everything works now