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 :: vuetify width of textfield 
Css :: on hover display another div css 
Css :: font shorthand 
Css :: custom taxonomy pagination 404 
Css :: what is a max and min width media query 
Css :: change order columns bootstrap 
Css :: how to dedeclare a variable and use it in css 
Css :: ease in out 
Css :: line height tailwind 
Css :: alert without page refresh 
Css :: css scroll height if screen too small 
Css :: change the weight of a bold font css 
Css :: css responsive image 
Css :: how to make text disappear after a certain length css 
Css :: padding top bottom 
Css :: color gradient for text 
Css :: scale down image css 
Css :: css button style rectangle 
Css :: how to style ul circles black in css 
Css :: code runner not taking input 
Css :: padding block 
Css :: display flex align last item to left 
Css :: min-height not working on body 
Css :: justify xd 
Css :: calculate using n nth-child 
Css :: scrollbar with 2 different colors on same page css 
Css :: nth-child 
Css :: flex box css 
Css :: z-index on position absolute 
Css :: webkit appreance none select 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =