xxxxxxxxxx
body {
background-image: url('Background_image.png');
}
xxxxxxxxxx
.background {
background-image: url('name.jpeg');
background-repeat: no-repeat;
background-size: 100%;
}
xxxxxxxxxx
div {
background-image: url("alert.png");
background-repeat: no-repeat;
}
xxxxxxxxxx
<repeat-style>#
where
<repeat-style> = repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}
xxxxxxxxxx
p {
width: 80px;
height: 70px;
margin: 0;
border: 2px solid black;
padding: 5px;
}