Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
/ level Public archive

⚠️ DEPRECATED. CST's own personal Normalize

License

Notifications You must be signed in to change notification settings

mobify/level

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Level

Level provides a lightweight, consistent foundation for mobile stylesheets. It is a subset of normalize.css with a few additions, such as box-sizing: border-box by default.

Install

  • Bower: bower install --save mobify/level

Usage

Assuming bower_components is a Sass load path: @import level/level;. Adaptive projects are set up this way by default.

No other styles should come before Level in compiled css.

What does it do?

  • Preserves useful defaults, unlike many CSS resets.
  • Normalizes styles for a wide range of elements.
  • Corrects bugs and common browser inconsistencies.
  • Improves usability with subtle improvements.
  • Adds some styles that are defacto standards, such as border-box.
  • Explains what code does using detailed comments.

Browser support

  • Chrome (latest)
  • Mozilla Firefox (latest)
  • iOS Safari 6+

IE Mobile is not currently supported, but can be manually added by adding IE10+ styles from Normalize.css. PRs to add support behind a configurable Sass variable are welcome.

Acknowledgements

Normalize.css is a project by Nicolas Gallagher, co-created with Jonathan Neal.