CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS Background-repeat property




CSS Background repeat Properties use to set a element backgorund image repeat only for horizontally or vertically, repeat both side, and no repeat.


Property Values


Properties Value Description
Syntax background-repeat:value;
value   repeat (repeats both horizontally and vertically)
  repeat-x (repeats horizontally only)
  repeat-y (repeats vertically only)
  no-repeat (background is not repeated)
  inherit
Allow to All Elements
Inherited No

Example-Code

<p style="background-image:url(jix/img_nat.png);background-repeat:
no-repeat;background-position: 60% 10%;height:130px;width:500px;">
This example is Background Image no-repeat set in element.</p> 
Online Try This Code Your Self....   »

Example-Result

This example is Background Image no-repeat set in element.