Skip to content

jQuery plugin which translate acronyms in the small caps.

License

Notifications You must be signed in to change notification settings

drylikov/AcronymJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AcronymJS

jQuery plugin which translate acronyms and ABBRs in the small caps.

Using

Include

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="jquery.acronym.min.js"></script>

Сall

$("p").acronym();

Properties

tracking

Letter-spacing. Amount of space between a group of letters in a line or block of text. Is letter-spacing CSS rule. Indicated in em or px.

Default value: 0.15em.

size

Small caps font size. Indicated in em or px and percents.

Default value: 90%.

$("p, h1").acronym({
    tracking: "0.15em",
    size: "90%"
});

Build

Install Grunt, go to src folder and type

grunt

About

jQuery plugin which translate acronyms in the small caps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published