body {
background-color: red;
}
body {
background-color: red;
}
body{
background: lightblue;
}
/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
background-color: blue;
}
div {
background-color: #b2b2b2;
}
Code Example |
---|
Css :: css animate border |
Css :: how to push text to the right css |
Css :: boostrap line |
Css :: bash list all npm processes |
Css :: css dot dot dot |
Css :: css button border |
Css :: how to set a div size to full screen |
Css :: css image overflow |
Css :: css div content horizontal scroll |
Css :: css disable button click |
Css :: center text in css |
Css :: css background properties |
Css :: horizontal scroll |
Css :: Media Query smartphone only |
Css :: best box shadow |
Css :: first child css in material ui |
Css :: scss linear gradient not working |
Css :: css text alignment |
Css :: how to move text down css |
Css :: css attribute selector |
Css :: how to define global font in css |
Css :: how to give background overlay in css |
Css :: button type submit css selector |
Css :: mysqli load result into array |
Css :: css square image |
Css :: change mouse pointer on image hover |
Css :: how to use local fonts in css |
Css :: grid css |
Css :: css custom bullet list |
Css :: selecting last child css |