Sunday, December 23, 2012

WD CSS Attributes



CSS Attributes
Font Attributes:

Font-Size
To define size of font (10pt, 20pt)(pt=points)
Font-Style
To define font style (Italic, normal)
Font-weight
To define font weight (100, 200, and 300, bold...)
Font-Family
To define font family (Arial, Vardana, Calibri etc.)

 
Background Attributes:

Color
Use to set color to text of any elements
Background-Color
Use to set Background Color
Background-Image
Use to set image by passing image path.
Background-repeat
Use to specify the repletion of image in Horizontal & Vertical.


Text Attributes:

Text-Decoration
Use to decorate the text with help (underline, overline, blink etc.)
Text-Align
Use to align the text contain (right, left, center, justify )
Text-Transform
Use to transform content in Upper to Lower & Lower to Upper.
Text-indent
Use to provide the indent space by the percentage (5%).
Vertical-Align
Use to set the alignment of the object in vertical manner with help top, bottom, middle etc.


Border Attributes:

Border-Style
Use to define border style (solid, double, groove, ridge, inset, outset, ,dotted and dashed )
Border-Width
Use to define border width ( thin, thick, medium and length )
Border-Color
Use to define border color (Blue, Red, Green, and Pink etc.)
Border-top-width

Use to define width in respective style.
( thin, thick, medium and length )
Border-bottom-width
Border-left-width
Border-right-width
Border-top

Use to define more style in one Border
{ width        color        style }
Border-bottom
Border-left
Border-right
Border
Use to set all parameter one time  ( padding )

No comments:

Post a Comment