CSS Tutorial

CSS Background Repeat

<!DOCTYPE html>
<title>Example</title>
<style>
  div {
    padding: 70px;
    background-image: url("/pix/samples/bg2.png");
    background-repeat: no-repeat;
  }
</style>
<div>
  The background image does not repeat.
</div>