• Stars
    star
    2,715
  • Rank 16,231 (Top 0.4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A tiny modern CSS reset

minireset.css

npm npm

A tiny modern CSS reset that covers the basics:

  • resets the font sizes: so that using semantic markup doesn't affect the styling
  • resets the block margins: so that the spacing is only applied when you need it
  • resets tables: so that tabular data only takes the space it needs
  • preserves the inline paddings: so that buttons and inputs keep their default layout
  • sets the border-box box sizing: so that borders and paddings don't affect the set dimensions
  • sets responsive media elements: so that images and embeds scale with the browser width

Download/Install

Download the latest version

npm install minireset.css

Or clone the repo.

Options

It will be available in your modules directory in /node_modules/minireset.css/:

  • minireset.css: CSS rules
  • minireset.min.css: minified CSS rules (recommended for production sites)
  • minireet.sass: CSS rules written in SASS (recommended for SCSS/SASS projects)
  • minireset.css.lit.js: CSS rules exported as a CSSResult object for LitElement projects (recommended for Web Component projects based on LitElement)

CDN

GitHub CDN for minireset.min.css

Copyright and license

Code copyright 2019 Jeremy Thomas. Code released under the MIT license.

More Repositories

1

bulma

Modern CSS framework based on Flexbox
CSS
47,555
star
2

css-reference

CSS Reference: a free visual guide to the most popular CSS properties
HTML
4,826
star
3

web-design-in-4-minutes

Learn the basics of web design in 4 minutes
HTML
4,322
star
4

marksheet

Free tutorial to learn HTML and CSS
JavaScript
1,008
star
5

html-reference

HTML Reference: a free guide to all HTML5 elements and attributes
HTML
956
star
6

lavalamp.js

A replacement for infinite scrolling.
CSS
885
star
7

wysiwyg.css

A tiny CSS for generated HTML or Markdown content
Sass
710
star
8

javascript-in-14-minutes

Learn the basics of JavaScript in 14 minutes
CSS
548
star
9

juketube

A YouTube jukebox built with AngularJS
JavaScript
278
star
10

bulma-start

Start package for Bulma
CSS
273
star
11

bulma-website

[DEPRECATED] Website for the Bulma CSS framework
CSS
40
star
12

hacker-news-dark-mode

Hacker News Dark Mode
HTML
18
star
13

bulma-versions

Bulma Versions
HTML
8
star
14

euro-2016-calendar

Simple mobile-friendly Euro 2016 calendar
CSS
6
star
15

how-css-works

CSS
5
star
16

social-media-assets

A simple repository of colors & logos from popular social websites.
CSS
5
star
17

monokai-extended-colors

Monokai Extended Colors in HTML
HTML
3
star
18

amp

AMP (Accelerated Mobile Pages) test
CSS
3
star
19

css-art-science

Un parcours initiatique ร  l'intรฉgration Web
CSS
3
star
20

theme-generator

CSS
2
star
21

bbxdesign

WordPress Theme for my blog and portfolio
CSS
2
star
22

buttonizer

Something something
JavaScript
2
star
23

bbxworld

First ever bbx website
HTML
1
star
24

amp-homepage

CSS
1
star
25

toast

Ghost Theme
CSS
1
star
26

grumpy-cat

Grumpy Cat
HTML
1
star
27

barn-dor

The Barn d'Or Award
CSS
1
star
28

grandourse

Discourse Theme
CSS
1
star
29

sochi-2014-calendar

A simple calendar for the Sochi 2014 Olympics
JavaScript
1
star