background colors in css code example

Example 1: background color none

element {
	background-color: transparent;	
}

Example 2: css background color

body {
  background-color: green;
}

Example 3: cool ways to color a background with css

background: linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);

Example 4: 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;
}

Example 5: how to change background color in css

body{
  background: lightblue;
}

Example 6: css background color

body {background-color: coral;}

Tags:

Css Example