1997: Tutorial : Css Properties

Tutorial : Css Properties

09 December 2012

Some codes that maybe can help you with your editing.

Font Properties

font-family: indicates the font you use
example: font-family: arial;

font-size: you can adjust the font size
example: font-size: 10px;

font-style values: italic, normal, underline, bold
example: font-style: italic;

font-weight values: normal, bold
example: font-weight: bold;

Text Properties

letter-spacing: distance between letter.
example: letter-spacing: 1px;

line-height: sets the row height
example: line-height: 5px;

word spacing: the distance between words
example: word-spacing: 1px;

text-shadow: this gives a shadow to your text
example: text-shadow: #333333 1px 1px 1px;

text-transform values: lowercase, uppercase
example: text-transform: uppercase;

Border Properties

border: will give a border around anything
example: border: 1px solid;

border in a different color
example: border: 1px solid #000000;

border values: solid, dotted, dashed, none
example: border: 1px solid #000000;

Other Properties

padding: is the general padding around anything
example: padding: 3px;

margin: is the general distance to another element
example: margin: 5px;

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...