background color using css
/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
background-color: blue;
}body {
background-color: green;
}body {
background-color: rgb(255,255,255);
}html,body {
background-color: red;
}
Also in CSS:
- css selectors cheat sheet
- add a border to a div css
- color picker css
- css calc height
- learn css animations transform
- how to remove link blue color from a tag using css
- css p tag text wrap
- how to link css to html
- html font white text with black border
- como fazer uma linha vertical no html
- add background image css
- css border
- nth-child(2n+1)
- background color using css
- font size css
- label for centered image
- how to write css in html
- css change text size
- text unselectable css
- sidebar hide in css
- css two attribute selector
- white border css
- 1:1 image in css
- @media css