Sunday, September 7, 2014

DEVELOPING CSS 1

css 2.1 has more than 90 properties.They are broadly categorized into 5 groups .
properties :
(1)front
(2)text
(3)box
(4)color and background
(5)classification

font properties:The following table shows some of the basic font properties and values.
-----------------------------------------------------------------------------------------------------------------------
property name                                              .                value
 -----------------------------------------------------------------------------------------------------------------------
font-family                                                                   sans-serif,airal
-----------------------------------------------------------------------------------------------------------------------
font-style                                                                      normal,italic
------------------------------------------------------------------------------------------------------------------------
font-variant                                                                   normal,small-caps
----------------------------------------------------------------------------------------------------------------------
font-weight                                                              normal,bold,bolder,lighter,100,200,--900
----------------------------------------------------------------------------------------------------------------------
font-size                                                                  xx-small,x-small,small,medium,large,
                                                                               x-large,xx-large,or size measurement
---------------------------------------------------------------------------------------------------------------------
font                                                                         any or all of the above properties
----------------------------------------------------------------------------------------------------------------------


Text properties: defined in the following table effect the visual presentation of character,spaces,words and paragraphs.
 ---------------------------------------------------------------------------------------------------------------------
properties name                                                             value
 ---------------------------------------------------------------------------------------------------------------------
word-spacing                                                              normal |<length>| inherit
 ---------------------------------------------------------------------------------------------------------------------
letter-spacing                                                               normal |<length>| inherit
----------------------------------------------------------------------------------------------------------------------
text-decoration                                                            none|underline| overline|line-through|
                                                                                   blink|inherit
---------------------------------------------------------------------------------------------------------------------
vertical-align                                                                base line|super|sub|top|text-top|
                                                                                   middle-bottom|text-box
---------------------------------------------------------------------------------------------------------------------
text-transform                                                              none+capitilize|uppercase|lower case
----------------------------------------------------------------------------------------------------------------------
text-align                                                                      left|right|conter|justify|inherit
----------------------------------------------------------------------------------------------------------------------
text-indent                                                                   <lenght>|<percentage>|inherit

No comments:

Post a Comment