<head>
<style>
    div {
        border: 10px double #000000;
        padding: 10px;
        background: url('resources/flower.jpg') content-box;
        -webkit-background-size: 100px auto;
        background-position: center;
    }
</style>
</head>

<body>
<div style="width:500px; height:500px;"></div>
</body>
