<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
div{
box-sizing: border-box;
height: 280px;
width: 280px;
background: url("/husky.jpg") no-repeat;
border: 10px double #8c8c8c;
background-clip: border-box;
padding: 10px;
}
#point{
background-clip: border-box;
}
#point1{
background-clip: padding-box;
}
#point2{
background-clip: content-box;
}
</style>
</head>
<body>
<h1>CSS background-clip Property</h1>
<h2>background-clip: border-box</h2>
<div id="point"></div>
<h2>background-clip: padding-box</h2>
<div id="point1"></div>
<h2>background-clip: content-box</h2>
<div id="point2"></div> </body>
</html>