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

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 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

html or CSS background-color

Add background-color in html
Comment

PREVIOUS NEXT
Code Example
Css :: tailwindcss init full 
Css :: center anything horizontally and vertically in CSS 
Css :: css shadow 
Css :: css code to blur background 
Css :: website make text not highlightable 
Css :: css media query aspect ratio 
Css :: responsive container css 
Css :: remove border between td 
Css :: bootstrap badge color 
Css :: backwards text css 
Css :: sticky footer bootstrap 3 
Css :: add black layer on image css 
Css :: css element top layer 
Css :: background image fill div 
Css :: responsive font size 
Css :: css photo circle 
Css :: css remove scrollbars 
Css :: scss watch command 
Css :: css div bottom of parent 
Css :: how to verticaly align items in a HTML container 
Css :: bold in label html 
Css :: react native flatlist styled height fit content 
Css :: sidebar fixed when scrolling down css 
Css :: word ellipsis css 
Css :: css selector to change long bot description top.gg 
Css :: hr tag customize using css 
Css :: css underline 
Css :: coustomize srollbar 
Css :: padding bottom 
Css :: flex change order 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =