@master/normal.css
Normalize browser's styles. ~1KB
CONTENTS
Documentation
Preset Global Styles - Master CSS
Feature
- 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: 0
- 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
- ...
View the source code
Install
npm install @master/normal.css
Import
@import '@master/normal.css';
CDN
jsdelivr
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@master/normal.css">
unpkg
<link rel="stylesheet" href="https://unpkg.com/@master/normal.css">
Related