1 <!DOCTYPE html>
2 <html><head>
3 <meta charset="utf-8">
4 <title>CSS Background: background-repeat: background image round with specified position</title>
5 <link href="mailto:ethlin@mozilla.com" rel="author" title="Ethan Lin">
6 <link href="https://www.mozilla.org" rel="author" title="Mozilla">
7 <link href="https://www.w3.org/TR/css3-background/#background-repeat" rel="help">
8 <link href="reference/background-repeat-round-4-ref.htm" rel="match">
9 <meta content="Test checks whether background-repeat: 'round' works correctly or not." name="assert">
10 <style type="text/css">
11 #outer {
12 width: 72px;
13 height: 72px;
14 border: 1px solid black;
15 background-image: url(aqua-yellow-32x32.png);
16 background-repeat: round;
17 background-position: 5px 5px;
18 }
19 #outer_gradient {
20 width: 72px;
21 height: 72px;
22 border: 1px solid black;
23 background-size: 32px 32px;
24 background-image: linear-gradient(to top left, red, green);
25 background-repeat: round;
26 background-position: 5px 5px;
27 }
28 </style>
29 </head>
30 <body>
31 <div id="outer"></div>
32 <div id="outer_gradient"></div>
33
34
35
36 </body></html>