Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<html>
<head>
<title>CSS Backgrounds Test: background-origin:padding-box & background-position</title>
<link rel="author" title="finscn" href="mailto:finscn@gmail.com" >
<meta name="flags" content="">
<link rel="match" href="../reference/origin-padding-box_with_position-ref.html">
<meta charset="utf-8">
<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 : padding-box;
background-position: -15px -15px;
}
.no-repeat {
background-repeat : no-repeat;
}
</style>
</head>
<body>
<div class="no-repeat"></div>
</body>
</html>