Use Sass without Rails

Posted Over 13 years ago by Henning Koch.

You don't need a Rails application to use Sass. Even when you're working on a static site you...

Adding Stroke to Web Text

Posted Over 13 years ago by Lexy.
css-tricks.com

Because they are vector, it would make sense if we could do things that other vector programs (e.g. Adobe Illustrator...

Deliver Paperclip attachments to authorized users only

Posted Over 13 years ago by Henning Koch.

When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...

JQuery CSS Emoticons Plugin

Posted Over 13 years ago by Lexy.
alfajango.com

The CSS Emoticons plugin is a simple jQuery plugin (and stylesheet) that allows you to turn any text emoticons on...

rhulse's rails-css-views at master - GitHub

Posted Over 13 years ago by Lexy.
github.com

This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...

Recursively remove unnecessary executable-flags

Posted Over 13 years ago by Arne Hartherz.

Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...

Hide the last bottom margin in a container

Posted Over 13 years ago by Henning Koch.

When you create e.g. a sidebar box that contains headlines and paragraphs, the final paragraph's margin in that box...

Setting expiry dates for images, JavaScript and CSS

Posted Over 13 years ago by Thomas Eisenbarth.

When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.

Change the color of a <hr> in all browsers

Posted Over 13 years ago by Henning Koch.

The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px

Reprocess only missing images with Paperclip

Posted Over 13 years ago by Tobias Kraze.

When a paperclip attachment gains a new style and you have many attachments, reprocessing can take ages. This is because...

Parse XML or HTML with Nokogiri

Posted Over 13 years ago by Tobias Kraze.

To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...

Typical .gitignore

Posted Over 13 years ago.

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

Nicole Sullivan: "Design Fast Websites" on Yahoo! Video

Posted Over 15 years ago by Lexy.
video.yahoo.com

Web performance expert Nicole Sullivan discusses a set of best practices in the creation of supremely fast, visually impactful web...

mezzoblue § Sprite Optimization

Posted About 15 years ago by Lexy.
mezzoblue.com

Maybe I haven’t been paying close enough attention, but over the past few years an interesting variation of CSS...

SASS: The Better, More Powerful CSS - Intridea Design Blog

Posted About 15 years ago by Lexy.
intridea.com

I am a huge fan of SASS (Syntactically Awesome Stylesheets) for styling Rails applications. I have been using it on...

JSMIN, The JavaScript Minifier

Posted About 15 years ago by Lexy.
javascript.crockford.com

JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting...

Index of /projects/sleight

Posted About 15 years ago by Lexy.
youngpup.net

PNG transparency for IE 6.

Module: Sass

Posted Almost 15 years ago by Lexy.
haml.hamptoncatlin.com

Sass is a meta-language on top of CSS that‘s used to describe the style of a document cleanly...