compass/examples/compass
Chris Eppstein 3d909ceda9 [Compass Core] Cross browser ellipsis mixin.
Since this requires the installation of an additional xml file for
firefox support, it is provided as a pattern.

To install:
compass -p ellipsis

To use:
Mix +ellipsis into a selector targeting the textual element that will
truncate via ellipsis. By default, ellipsis text is set tono-wrap. Pass
false as the first argument if you don't want that.

Note:
Firefox is the lame browser in this respect, it requires a lot of bending
over backwards and has many quirky behaviors. Please read the blog post at
http://mattsnider.com/css/css-string-truncation-with-ellipsis/ for a full
explanation of the issues. Also note that ellipsis text is white-space
sensitive in Firefox, an issue that is sure to affect Haml users more than
most.
2009-07-06 07:18:25 -07:00
..
images Updated the compass examples to work correctly with the images_url() function. 2009-05-02 15:18:30 -07:00
src [Compass Core] Cross browser ellipsis mixin. 2009-07-06 07:18:25 -07:00
compass.html.haml Converted html to haml in the examples for consistency. 2009-06-05 10:43:04 -07:00
config.rb [Configuration] [Command Line] Whether to generate relative links to assets is now controlled by a separate configuration flag and can be set via a command-line switch. 2009-07-06 07:18:25 -07:00
sticky_footer.html.haml Added +sticky-footer mixin 2008-12-08 20:37:06 -08:00
utilities.html.haml [Compass Core] Cross browser ellipsis mixin. 2009-07-06 07:18:25 -07:00