Posts

Showing posts from December 1, 2019

Border using CSS in html file

BORDER AND BACKGROUND USING EXTERNEL CSS FILE IN HTML. There are 4 property of border : 1.border-width: (give width in px) for example : border-width:5px; 2.border-style:(required) (there are too many value for border-style property) solid dotted dashed double inset outset 3.border-color: give color name  (red)  or HEX value ( #fff) or rgb ( , , ) values for color. We use shorthand property to give border to any object. border: width   style   color ; Background have mainly 4 value : 1.background-color : give color name  (red)  or HEX value ( #fff) or rgb ( , , ) values. or hsl( , , ) values. 2.background-image : background-image:url("");    /* type name or path in breckets */ 3.background-attchment:  background-attchment:fixed; 4.background-repeat : values: repeat x ----for repeat only horizontally repeat y ----for repeat only vertically repeat ------to repeat on both vertically and h...