Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css background color

body {
  background-color: green;
}
Comment

how to add a background color in css

  body {
    background-color: red;
}
Comment

background color css

html,body {
  background-color: red;
}
Comment

css set background color

body {
	background-color: red; 
}
Comment

CSS Background Color

/* Keyword values */
background-color: gainsboro;
background-color: lightcoral;

/* Hexadecimal value */
background-color: #0000ff;    /* blue opaque */
background-color: #00f;       /* blue opaque shorthand */
background-color: #0000ff00;  /* blue transparent */
background-color: #00f0;      /* blue transparent shorthand  */
background-color: #0000ffff;  /* blue opaque */
background-color: #00ff;      /* Fully opaque shorthand  */

/* RGB value */
background-color: rgb(0, 0, 255);        /* blue opaque */
background-color: rgba(0, 0, 255, 0.5);  /* 50% transparent */

/* HSL value */
background-color: hsl(67, 100%, 50%);         /* yellow opaque */
background-color: hsla(67, 100%, 50%, 0.75);  /* 75% transparent */

/* Special keyword values */
background-color: currentcolor;
background-color: transparent;

/* Global values */
background-color: inherit;
background-color: initial;
background-color: unset;
Comment

how to change background color in css

body{
  background: lightblue;
}
Comment

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;
}
Comment

Adding a background color in CSS

div {
background-color: #b2b2b2;
}
Comment

backgroud color css

 background-color: blue;
Comment

css background color

html {background-color: #ededed;} /*Changes the background colour to a light grey*/
Comment

css background color

body {background-color: coral;}
Comment

css change background color

background-color: green;
Comment

css background color

.class,#id,div {
  background-color: green;
}
Comment

background color css

body {
  background-color: black;
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to remove image using css 
Css :: over to remove padding css 
Css :: how to change highlight color on website 
Css :: justify second line of ul 
Css :: css border-left 
Css :: how to center a div with position absolute 
Css :: css cell spacing 
Css :: different measurements in css 
Css :: maximum length for input box 
Css :: glass css 
Css :: css media queries laptop 
Css :: overflow-y scroll not working in chrome 
Css :: drop down menu html css 
Css :: how to center an overlay button using css transform and translate 
Css :: overflow css 
Css :: move navbar to right css 
Css :: how to stop overflow in css 
Css :: make table resopnsive for mobile 
Css :: Sf pro font html 
Css :: add profile picture to a form in html and css 
Css :: how to make distance betwwen corosel transition 
Css :: primary hex code 
Css :: display in css 
Css :: loading bar css 
Css :: increase the distance between paragraphs css 
Css :: how to modify select icon csshow to modify select icon css 
Css :: padding bottom and top css in same ligne 
Css :: subtract height css 
Css :: fabric bring to front element top 
Css :: media query css 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =