Eric Meyer CSS reset in Sass
Ruby CSS
Latest commit 3c4864c Apr 15, 2014 @adamstac Merge pull request #2 from alienresident/master
Updated the Readme file to reflect v2.0.1 changes
Failed to load latest commit information.
lib Whoa, put back the .gemspec and update reqs, etc. Mar 5, 2014
stylesheets Tweaks to the Sass syntax Mar 5, 2014
Gemfile Initial setup for Bower Mar 5, 2014 Updated @import instructions to scss format Apr 15, 2014
Rakefile Require meyer-reset lib in Rakefile Mar 5, 2014
bower.json Whoa, put back the .gemspec and update reqs, etc. Mar 5, 2014
config.rb Changed CSS compile location and gitignore'd the CSS file Mar 5, 2014
meyer-reset.gemspec Update Compass req in the gemspec Mar 5, 2014

Eric Meyer - CSS Reset Stylesheet

Eric Meyer's CSS reset stylesheet as Sass, delivered as a Compass Extension and Ruby Gem.

For more information:

Installation and Usage

Compass Extension

To install as a Ruby Gem to use this as a Compass Extension, run the following in your Terminal app.

gem install meyer-reset

Then add require 'meyer-reset' to your Compass config file.

Using this in your Sass stylesheet is pretty easy. Simply import the extension into your stylesheet (preferably as the first import or declaration in your Sass stylesheet).

If you look at the extension, you will notice that we are "including" the mixin @include meyer-reset for you in the last line. All you will need to do is import and go.

@import "meyer-reset";


Simple Sass Partial

For non Compass users, or someone who just wants to use this as a simple Sass partial vs installing as a Ruby Gem and Compass extension. In your terminal app, navigate to where you want to download this to.

For example: cd path/to/project/sass

Then use curl to pull down the raw file.

curl -0

The same rules apply as mentioned above. All you will need to do is import and go.

@import "meyer-reset";


For fun

For those who want to learn about how to use Rake and want to play with how Sass and Compass work when compiling, run the command rake -T to see a list of rake tasks that: clear, build and release this gem, and compile and convert Sass.

Dig into the Rakefile to see what makes all this happen.

rake css:clear     # Clear the styles
rake gem:build     # Build the gem
rake gem:release   # Build and release the gem
rake sass:compile  # Compile new styles
rake sass:convert  # Converts the Sass to SCSS


None (public domain)