qReset is a tiny, comfortable CSS Reset written for CSS and Sass.
CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
alternative layouts
qreset.css
qreset.sass
readme.markdown

readme.markdown

qReset is currently deprecated, please do not use it until it has been updated to current standards!

qReset - a quick and tiny CSS Reset

After using Eric Meyers reset for many years, i recently changing over to haml/sass, and didnt like how eric's reset looked converted, so after i couldnt find any alternative that pleased me, i decided to write my own reset.

How to install (css)

copy the file "qreset.css" into your stylesheets folder and add

<link rel="stylesheet" type="text/css" href="stylesheets/qreset.css" />

into the head section of your .html file above other css links.

How to install (sass)

copy the file "qreset.sass" into your stylesheets folder and put the line below into your .haml file

%link{:href => "stylesheets/qreset.sass", :rel => "stylesheet", :type => "text/css"}/

the qreset.css file should be at he topmost position of your css links inside the head tag of your .haml file.

a little trick

if you are using ruby (sinatra), you should add

get '/stylesheets/:name.css' do
content_type 'text/css', :charset => 'utf-8'
sass :"/stylesheets/#{params[:name]}"
end

into your .rb file, this will automaticly read any .sass file in the stylesheets folder and convert it to css. this way you dont have to do it for every single file.

qReset 2011 by F. Rick Reich (frederikreich@googlemail.com)