Background Repeat

background-repeat Property

  • background-repeat allows you to control how an background image is repeated

    1. repeat: image is repeated both horizontally and vertically (default behavior)

    2. repeat-x: image is only repeated horizontally

    3. repeat-y: image is only repeated vertically

    4. no-repeat: image is only shown once and not repeated