text-transform
CSS text-transform Property
The CSS text-transform property is used to control text capitalization and casing inside of an element.
(capitalize - makes the first letter of every word capitalized)
CSS CODE EXAMPLE
<style type="text/css">
#p1{
text-transform: uppercase;
}
#p2{
text-transform: lowercase;
}
#p3{
text-transform: capitalize;
}
</style>
<p id="p1">paragraph conTENT ...</p>
<p id="p2">paragraph conTENT ...</p>
<p id="p3">paragraph conTENT ...</p>
#p1{
text-transform: uppercase;
}
#p2{
text-transform: lowercase;
}
#p3{
text-transform: capitalize;
}
</style>
<p id="p1">paragraph conTENT ...</p>
<p id="p2">paragraph conTENT ...</p>
<p id="p3">paragraph conTENT ...</p>
PARAGRAPH CONTENT ...
paragraph content ...
Paragraph ConTENT ...
Possible Values:
uppercase •• lowercase •• capitalize •• inherit(capitalize - makes the first letter of every word capitalized)
0 Response to "text-transform"
Post a Comment