CSS also have their own properties.
Properties
Background Image Properties
•background-image:url(../location/of/image.jpg)
•background-repeat: tile image in background
•background-position:vertical(top, center, bottom,
or size) horizontal(left, center, right, or size)
•background-attachment: (scrollor fixed)
Font Properties
• font-family: times, arial, serif, sans-serif,
monospace;
•font-style: italic;
•font-weight: (bold, bolder, lighter, or 100 –900;)
•font-size: size;
…or shorthand
•font: style weight sizefamily;
Text Properties
• text-indent:indents first line of a paragraph
according to size
• text-align:right;or left;or center;or justify;
• text-decoration: none; orunderline;
• text-transform:Capitalize;
• line-height:added vertical space to each line of
text according to size
Border Properties
• border-width:(thin, medium, thick, or size)
• border-style:(none, hidden, dotted, dashed,
solid, double, groove, ridge, inset, or outset)
• border-color:color
…or shorthand
• border(-top, -right, -left, -bottom):width style
color
No comments:
Post a Comment