Sunday, September 7, 2014

DEVELOPING CSS 2

color and background properties:
These properties allow us to specify the foreground color and background of an element.
Background may be colors or images.background properties should allow authors to position a background it and declare whether it should be fixed with respect to
------------------------------------------------------------------------------------------------------------------------------
property name                                                                     value
------------------------------------------------------------------------------------------------------------------------------
color                                                                                color name or RGB value
------------------------------------------------------------------------------------------------------------------------------
background-color                                                             color name or RGB value  
------------------------------------------------------------------------------------------------------------------------------
background-image                                                            url("url of the image")
-----------------------------------------------------------------------------------------------------------------------------
background-repeat                                                          repeat,repeat-x,repeat-y,repeat-z
------------------------------------------------------------------------------------------------------------------------------
background                                                                    any or all of the above properties
--------------------------------------------------------------------------------------------------------------------------

Box properties:
The css box model describes the rectangular boxes that are generated for elements in the documentary.Each box has a content area and optional surrounding adding border and margin areas.The size of each area is specified by properties defined below
The properties will be based on the margin,border and padding as well as their relative positions i.e,top ,bottom,left and right.

No comments:

Post a Comment