xxxxxxxxxx
div {
background: #ffffff url("image.png") no-repeat right top;
}
xxxxxxxxxx
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;
}
xxxxxxxxxx
body {
background-image: url('https://example.com/your-background-image.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
xxxxxxxxxx
<style>
.container {
background-image: url('path_to_image.jpg');
background-repeat: no-repeat;
background-size: cover;
}
</style>