Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 15.  Formatting Text with Styles > Changing the Text Case

Changing the Text Case

You can define the text case for your style by using the text-transform property. In this way, you can display the text either with initial capital letters, in all capital letters, in all small letters, or as it was typed.

To change the text case:

1.
Type text-transform: .

2.
Type capitalize to put the first character of each word in uppercase.

Or type uppercase to change all the letters to uppercase.

Or type lowercase to change all the letters to lowercase.

Or type none to leave the text as is (possibly canceling out an inherited value).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial