W3 School
W3 School
CSS colors:
Type 1 :->RGB and RGBA color (red,green,blue)
in RGB color all the values of color for red, green and blue value is min(0) and
max 255
And same as rgba (red ,green,blue and alpha) alpha is transparent for color like
its describe between 0.0 to 1.0
0.0 is fully transparent
1.0 not transparent
Css background-repeat:no-repeat/repeat-y/repeat-x
Css background-attachement:scroll/fixed
body{
/*backgrounf shorthand very useful in single like we can add multiple
bacground property*/
background: url("Beautiful-Scenery.jpg.crdownload") no-repeat fixed;
}
/* body{
background-image: url("Beautiful-Scenery.jpg.crdownload");
background-repeat: no-repeat;
background-position: top;
background-attachment: fixed;
}*/
-----------------------------------------------------------------------------------
--------------------------
CSS border:
p.six{
border: 2px solid red;
border-width: 5px 10px 13px 4px;// 5px from top,10px from right,13px
from bottom,4px from left
}
-----------------------------------------------------------------------------------
padding is use to provide the space betweent the contant and border.
margin is use to seprate the element between element.
-----------------------------------------------------------------------------------
-----