• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Ruby
  • Created almost 14 years ago
  • Updated about 8 years ago

Reviews

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

Repository Details

Eric Meyer CSS reset in Sass

Eric Meyer - CSS Reset Stylesheet

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

For more information: http://meyerweb.com/eric/tools/css/reset/

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 https://github.com/adamstac/meyer-reset/raw/master/stylesheets/_meyer-reset.scss

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

License

None (public domain)

More Repositories

1

sinatra-bootstrap

A simple Sinatra starting point
Ruby
378
star
2

animate.sass

Sass and Compass CSS animation library based on Animate.css
Ruby
325
star
3

zocial

Sass and Compass CSS3 social buttons framework
Ruby
189
star
4

grid-coordinates

Sass and Compass highly-configurable CSS grid framework
CSS
108
star
5

serve-bootstrap

Serve Bootstrap to aid in rapid design using Haml, Sass and Compass
Ruby
83
star
6

staticmatic-bootstrap

StaticMatic bootstrap with support for Haml, Sass, Compass and jQuery
JavaScript
71
star
7

pictos-free

Sass and Compass interface icon set (Pictos Free) from Drew Wilson
Ruby
52
star
8

font-stacks

Sass and Compass font-family library of common web-friendly font stacks
Ruby
39
star
9

nanoc-bootstrap

Nanoc bootstrap with support for Haml, Sass, Compass and jQuery
Ruby
36
star
10

jquery-qt-controller

A jQuery powered Quicktime Interface Controller
JavaScript
20
star
11

thor-wordpress

A set of Thor tasks to make developing with Wordpress easier
18
star
12

mailplane-hide-gmail-ads-css

A simple CSS file to use with Mailplane to hide the Gmail ads
14
star
13

compass-extension-bootstrap

Compass extension bootstrap is a simple starting point for creating Compass extensions.
Ruby
14
star
14

sass-textmate-bundle

A TextMate bundle to aid in rapid Sass development (indented syntax)
14
star
15

960-grid-system-textmate-bundle

TextMate Bundle for rapid development with 960.gs and HAML
12
star
16

smashing-layout

The Sass Way to recreate Smashing Magazine's layout (circa 2009)
Ruby
9
star
17

pictosfree.heroku.com

The demo for Pictos Free
Ruby
7
star
18

foundation-sass

SASSy-fied
JavaScript
6
star
19

nesta-bootstrap

A clean starting point for Nesta based sites using Haml, Sass and Compass
JavaScript
6
star
20

grid-coordinates.com

Hompage for Grid Coordinates - Sass based CSS Grid Framework Generator (Compass Extension)
Ruby
4
star
21

compass-simple

A simple, no fluff, project to use when illustrating code samples using Haml, Sass and Compass
Ruby
3
star
22

coffeefancy

Community-driven Coffee repo. Stars, stars, stars!
2
star
23

smashinglayout.com

Homepage for Smashing Layout - The Sass Way to recreate Smashing Magazine's layout (circa 2009)
JavaScript
2
star
24

ignitehouston-staticmatic

StaticMatic version of letsignitehouston.com
Ruby
1
star
25

itseasyjustsignup

Ruby
1
star
26

bedrock

Bedrock is a work in-progress.
Ruby
1
star
27

learningruby

Memoirs of an aspiring Rubyist
Ruby
1
star