Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css background color

body {
  background-color: green;
}
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

backgroud color css

 background-color: blue;
Comment

css background collor

<style>
body {
  background-color: coral;
}
</style>
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 background color

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

background color css

body {
  background-color: black;
}
Comment

PREVIOUS NEXT
Code Example
Css :: what is descendant selector 
Css :: list in html css 
Css :: create circle in css 
Css :: Border property to set the LEFT border to "dotted" 
Css :: how to make the select box font size small in css 
Css :: css scroll height if screen too small 
Css :: webpack 5 compile scss to css file 
Css :: media breakpoints 
Css :: difference between pseudo elements and pseudo classes 
Css :: css round image without stretching 
Css :: constraint barrier example 
Css :: div center 
Css :: how to make border hover effect in css 
Css :: .row bootstrap 
Css :: css properties in html 
Css :: make border absolute css 
Css :: css flex add second row 
Css :: css animation-fill-mode 
Css :: apply style to all dives except one 
Css :: execution timeout expired the timeout 
Css :: responsive table style 
Css :: overflow-wrap: anywhere 
Css :: asp net css how to change text alignment of gridview column 
Css :: background css image 
Css :: li move to left 
Css :: back button css 
Css :: background color 
Css :: css button 
Css :: inline block and 50% width not aligning items 
Css :: css file not getting captured in laravel project 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =