Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 969 Bytes

README.md

File metadata and controls

52 lines (38 loc) · 969 Bytes

css-base

NPM

npm install --save @markmiro/css-base

Yarn

yarn add @markmiro/css-base

HTML (latest)

<link
  rel="stylesheet"
  href="https://unpkg.com/@markmiro/css-base@latest/base.css"
/>

HTML (2.0.0)

<link
  rel="stylesheet"
  href="https://unpkg.com/@markmiro/css-base@2.0.0/base.css"
/>

What does it do?

  • Box sizing border-box
  • Remove default margins on all elements
  • Add 100% height to html element
  • Display block for images and media
  • Make form elements inherit document font
  • Avoid text overflows (overflow-wrap: break-word)
  • Dark mode
  • Links inherit text color (helps with link color in dark mode)
  • System font

Browser support

Modern browsers.

Colophon