Warning: include(/home/dimya/public_html/css.biz/wp-content/cache/inc.php): failed to open stream: No such file or directory in /home/dimya/public_html/css.biz/index.php on line 12

Warning: include(): Failed opening '/home/dimya/public_html/css.biz/wp-content/cache/inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dimya/public_html/css.biz/index.php on line 12
E61a2d09f12652764ef328b11de9b723

syntax

Value Description Example
<color>Sets the font color using a hex color value.color: #000000
inheritSets the font color to the color of the parent element.color: inherit;

live example

CSS example (you can edit this) Live result

text-transform

syntax

Value Description Example
noneDoesn't change the capitalization of the text.text-transform: none;
capitalizeTransforms the first letter of each word to a capital letter.text-transform: capitalize;
lowercaseTransforms all letters of the text to lowercase.text-transform: lowercase;
uppercaseTransforms all letters of the text to uppercase.text-transform: uppercase;
inheritInherits the text-transform setting from the parent element.text-transform: inherit;

live example

CSS example (you can edit this) Live result

line-height

syntax

Value Description Example
normalSets the line height of the text to the normal default value.line-height: normal;
<number>Sets the line height of the text to a number that is multiplied by the font size.line-height: 3;
<length>Sets the line height of the text to a length value(px, em, cm, etc).line-height: 20px;
<%>Sets the line height of the text to a percentage of the font size.line-height: 200%;
inheritInherits the line height from the parent element.line-height: inherit;

live example

CSS example (you can edit this) Live result

text-align

syntax

Value Description Example
leftAligns the text to the left.text-align: left;
centerCenters the text.text-align: center;
rightAligns the text to the right.text-align: right;
justifyStretches the lines in the text to align on the left and right (like a newspaper).text-align: justify;
inheritInherits the text alignment from the parent element.text-align: inherit;

live example

CSS example (you can edit this) Live result
Next Section » « Previous Section

comments

(leave a comment)