defaults.css

1.2.0 • Public • Published

defaults.css

normalize.css extended with opinionated resets & defaults

notable resets:

  • paddings, margins
  • borders in fieldset, iframe
  • spacing after audio, canvas, iframe, img, svg, video elements

defaults:

  • set box-sizing globally to inherit parent value
  • use box-sizing: border-box in html
  • set default font-family to system-ui
  • make inputs, buttons, links to inherit text styles
  • enable font-smoothing by default
  • svg to use currentColor for filling

...and many other, see source code

Install

npm install --save defaults.css

Related


MIT © John Grishin

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i defaults.css

    Weekly Downloads

    1

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    17.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • exah