1.1.1 • Published 5 years ago

roadcss v1.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

roadcss

😺 A modern CSS reset.

GitHub file size in bytes npm npm

Install

npm install --save roadcss

or

yarn add --save roadcss

Features

  • Apply box-sizing: border-box; in all elements.
  • Reset padding and margin in all elements.
  • Specify background-repeat: no-repeat in all elements and pseudo elements.
  • Inherit text-decoration and vertical-align to ::before and ::after.
  • Remove the outline when hovering in all browsers.
  • Specify font-family: monospace in code elements.
  • Reset border-radius in input elements.
  • Specify font inheritance of form elements.
  • Remove the default button styling in all browsers.
  • Specify textarea resizability to vertical.
  • Apply cursor: pointer to button elements.
  • Apply tab-size: 2 in html.
  • Style select like a standard input.
  • Style cursor by aria attributes.
  • Hide content from screens but not screenreaders.
  • Apply antialiased in -webkit-font-smoothing;.

Crossbrowser

roadcss uses ress.css under the hood with some customizations to apply a solid base to start your stylesheet.

Browser support

Inherit from Normalize

License

MIT © vvni

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago