JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q36600F
  • License MIT

All in one normalize CSS with enhancements to scaffold modern websites.

Package Exports

  • scaffold.css

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (scaffold.css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Scaffold.css

Build Status License: MIT

All in one normalize CSS with enhancements and helpers to scaffold mordern websites.

Including

  • Nomalizing
  • Useful enhancements
  • Common helpers

Installation

NPM

npm install --save scaffold.css
import 'scaffold.css';

Import in Sass

@import 'path/to/node_modules/scaffold.css/scaffold.css';

Or

<link rel="stylesheet" href="https://raw.githubusercontent.com/77Vincent/scaffold.css/master/scaffold.css">

Enhancemens

html,
body {                      
  margin: 0;
  padding: 0;
}
 
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-style: normal;
}
 
ol,
ul {
  margin: 0;
  padding: 0;
}

*,
*::after,
*::before {
  vertical-align: baseline;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
 
:hover,
:active,                                                                                                                                                      
:focus {
  outline-width: 0;
}
 
a { color: inherit; }
 
button {
  background-color: transparent;
  border: none;
}
 
table {
  border-collapse: collapse;
  border-spacing: 0;
}

Helpers

12-column grids class

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
...
.col-12 { width: 100%; }

Clearing float

.clearfix {
    content: "";
    display: block;
    clear: both;
}

Alignment

.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }

Normalizing

Mostly fork from necolas/normalize.css

Browser support

Internet Explorer 8+