Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.32 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.32 KB

A Meteor package for Normalize.scss

Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. The project relies on researching the differences between default browser styles in order to precisely target only the styles that need or benefit from normalizing.

Install

  1. Make sure to add sass support to your meteor app:
meteor add fourseven:scss
  1. From within your Meteor app's directory:
meteor add httpstr:normalize.scss

Usage

  1. Simply import Normalize.scss at the top of your sass file below any other @import

*.scss

@import "{httpstr:normalize.scss}/normalize";

*.sass

@import "{httpstr:normalize.scss}/normalize"

Important Note

Because Meteor will attempt to compile you app's local stylesheets prior to copying the server assets directory, the first time you run the app after installing the package your app will complain that it is unable to find it. For the moment this can be resolved by either stopping and restarting the app, at which point you should no longer get this error message, our running touch on your local stylesheet thats attempting to access the package, triggering a reload.