Skip to content

markmiro/css-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Based on a CSS reset from joshwcomeau.com

Resources

License

Stars

Watchers

Forks

Packages

No packages published