[go: up one dir, main page]

Skip to content

master-co/normal.css

Repository files navigation


Master CSS

Normalize browser's styles ~600B

NPM Version NPM Version NPM package ( download / month ) JSDelivr hits (npm scoped) Discord online Follow @mastercorg Github release actions

  • Geometric precision rendering for prettier text
  • Antialiased font smoothing looks great
  • Set most tags to margin: 0 and padding: 0
  • Globaly box-sizing: border-box
  • Globaly border-width: 0
  • Globaly border-style: solid
  • Set controls color: inherit
  • Set a, button, [role=button], [type=button] property cursor: pointer
  • line-height: 1.2
  • tab-size: 4
  • -webkit-touch-callout: none
  • -webkit-tap-highlight-color: transparent
  • text-size-adjust: 100%
  • font-weight: bolder
  • Set img, svg, video, canvas, audio, iframe, embed, object to display: block
  • ...

Documentation

See the official documentation

Installation

npm install @master/normal.css

Import into your global CSS entry file like styles.css:

@import '@master/normal.css';

Using CDNs

<link rel="stylesheet" href="https://cdn.master.co/normal.css">