Answers for "background image\"

CSS
17

background image css

.selector {
  background-image: url(image.png);
}
Posted by: Guest on May-25-2020
21

background image

div {
  background-color: #ffffff;
  background-image: url("img_tree.png");
  background-repeat: no-repeat;
  background-attachment: scroll|fixed|local|initial|inherit;
  background-position: right top  |  x% y%  |  xpos ypos;
  background-clip: border-box|padding-box|content-box|initial|inherit;
  background-size: auto|length|cover|contain|initial|inherit;
}
//shorthand:
div {
  background: #ffffff url("img_tree.png") no-repeat right top;
}
Posted by: Guest on September-07-2020
7

css background image

background-image: url("image.gif");
Posted by: Guest on April-01-2020
1

background-image

body {
  background-image: url("paper.gif");
}
Posted by: Guest on June-04-2021

Code answers related to "background image\"

Browse Popular Code Answers by Language