Answers for "put an image in the background with css"

CSS
124

css background image

background-image: url("image.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Posted by: Guest on April-07-2020
2

background image css

.wrapper {
    background: url('./images/homeBg.png') no-repeat;
    background-size: 100vw; 
    float: left;
    height: 100vw;
    width: 100vw;
}
Posted by: Guest on March-19-2021
3

adding background image

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

background css image

background-image: url('./image.jpg');
Posted by: Guest on October-05-2020

Code answers related to "put an image in the background with css"

Browse Popular Code Answers by Language