Text Transform with CSS

Sometimes, designer has to deal with output from CMS. If the CMS (Content Management System) doesn't validate the text case but the heading text for the page must be in all-Cap (Uppercase). Don't worry, you can control the case of text easily with CSS. Example -

h1 { text-transform:uppercase} - this will make the whole text for h1 to be in uppercase

h1 {text-transform:capitalize} - this will make each word in a text starts with a capital letter

h1 {text-transform:lowercase} - this will make the whole text for h1 to be in lowercase

Comments

Popular posts from this blog

Font sizes

Bg img & Color in css

Border Control with CSS