CSS Title Capitalization

Dear Reader


It would be great to have a CSS statement to capitalize not only every
word, but whole titles.
As - for example - you can test out here http://titlecapitalization.com

The main difference is, that for example "a" does not get capitalized in
the title "This Is a Great Title".

The complete rules for title capitalization are:

   1. Capitalize the first and the last word.
   2. Capitalize nouns, pronouns, adjectives, verbs, adverbs, and
   subordinate conjunctions.
   3. Lowercase articles (a, an, the), coordinating conjunctions
   <http://grammar.yourdictionary.com/parts-of-speech/conjunctions/conjunctions.html>,
   and prepositions
   <http://en.wikipedia.org/wiki/List_of_English_prepositions>.
   4. Lowercase the "to" in an infinitive (I want to play guitar).

I could imagine naming it as follows:

text-transform: capitalize*-title*


Regards
Simon

Received on Thursday, 22 January 2015 14:01:05 UTC