3d909ceda9
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. |
||
---|---|---|
.. | ||
images | ||
src | ||
compass.html.haml | ||
config.rb | ||
sticky_footer.html.haml | ||
utilities.html.haml |