Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css background color

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

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

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

html or CSS background-color

Add background-color in html
Comment

PREVIOUS NEXT
Code Example
Css :: como tirar o x do search input 
Css :: css backdrop filter grayscale 
Css :: how to make code continue after a transition css 
Css :: css opacité fond mais pas texte 
Css :: position absolute css 
Css :: sasas 
Css :: semi transparent btn 
Css :: what is default value for justify-content in react mui 
Css :: css change scroll anchor point under navbar 
Css :: pure css spinner 
Css :: scss modules 
Css :: The Sass .sass file is visually different from .scss file, e.g. Example.sass - sass is the older syntax 
Css :: if child elemnt is hovered do changes to the container css 
Css :: free hrml css curs 
Css :: can i do an onclick menu with css alone 
Css :: Styling based on parent state 
Css :: purpose 
Css :: li color change css 
Css :: project in css transforms 
Css :: how do I make secret keys available in gatsby-config from Netlify 
Css :: bouton darkmode 
Css :: enlarge ionicons css 
Css :: how to use figure in spsific size css 
Css :: react stateful 
Css :: trigger before update 
Css :: Text zentrieren 
Css :: css remive heading spacing 
Css :: Placeholders border shadow outline 
Css :: css float and clear 
Css :: firefox overflow hidden not working 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =