Skip to content

jesselawson/sweet-justice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Sweet Justice
## beautiful justified text

Include this file at the bottom of your pages
and it will hyphenate and justify your text.
The script pays attention to elements with
any of these three CSS classes:

sweet-justice:  Hyphenated and justified
sweet-hypens:   Hyphenation only
justice-denied: No hypens or justification.
                  This is useful for child nodes.

Hyphenation is accomplished by inserting soft
hyphen characters (0x00AD) into long words.

Requires either jQuery or YUI3.

Originally from carlos@bueno.org, 23 April 2010.

BSD license: Share and enjoy.

About

A current TLC of the Sweet Justice package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.6%
  • HTML 42.4%