Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to add a background color in css

  body {
    background-color: red;
}
Comment

css set background color

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

PREVIOUS NEXT
Code Example
Css :: css animate border 
Css :: how to push text to the right css 
Css :: boostrap line 
Css :: bash list all npm processes 
Css :: css dot dot dot 
Css :: css button border 
Css :: how to set a div size to full screen 
Css :: css image overflow 
Css :: css div content horizontal scroll 
Css :: css disable button click 
Css :: center text in css 
Css :: css background properties 
Css :: horizontal scroll 
Css :: Media Query smartphone only 
Css :: best box shadow 
Css :: first child css in material ui 
Css :: scss linear gradient not working 
Css :: css text alignment 
Css :: how to move text down css 
Css :: css attribute selector 
Css :: how to define global font in css 
Css :: how to give background overlay in css 
Css :: button type submit css selector 
Css :: mysqli load result into array 
Css :: css square image 
Css :: change mouse pointer on image hover 
Css :: how to use local fonts in css 
Css :: grid css 
Css :: css custom bullet list 
Css :: selecting last child css 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =