| <!doctype html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>CSS Backgrounds Test: background-origin:border-box</title> |
| <link rel="author" title="finscn" href="mailto:finscn@gmail.com" > |
| <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-origin" > |
| <meta name="flags" content=""> |
| <link rel="match" href="../reference/origin-border-box-ref.html"> |
| |
| |
| |
| <style type="text/css"> |
| |
| div { |
| border : 16px solid rgba(60,150,255,0.4); |
| width : 450px; |
| height : 224px; |
| padding : 16px; |
| margin-top : 8px; |
| background-image : url("support/yellow-orange-blue-160x160.png"); |
| background-origin : border-box; |
| } |
| |
| .no-repeat { |
| background-repeat : no-repeat; |
| } |
| |
| .repeat { |
| background-repeat : repeat; |
| } |
| |
| </style> |
| |
| </head> |
| <body> |
| |
| <div class="no-repeat"></div> |
| |
| <div class="repeat"></div> |
| |
| </body> |
| |
| </html> |