Archive for the ‘css’ tag
Text Transform in CSS
For one of my blog post, I copied a particular blog author’s name from his blog. The author name was displayed in his blog as TOM BAEYENS. When I copied and pasted it in a text editor, it pasted as: Tom Baeyens. I wondered how did copy-paste change the case of the text.
After little debugging using the Firefox WebDeveloper plugin, I found that the text in the blog had the CSS property text-transform with value uppercase.
After little more study, I learned that text-transform is a CSS2 property which supports the following values:
| capitalize | Make first character in each word uppercase |
| uppercase | Make all characters uppercase |
| lowercase | Make all characters lowercase |
| none | No transformation |
To demonstrate, I write the text with different text-transform values:
| none | I love JAVA |
| capitalize | I love JAVA |
| uppercase | I love JAVA |
| lowercase | I love JAVA |
CSS Cheatsheet Wallpaper in Helvetica
Found this useful link through digg.