<div></div>
<!-- 样式 -->
<style>
div
{
width : 200px;
height: 200px;
margin: 100px;
/*背景色*/
background-color: #999;
/*图片路径*/
background-image: url(border.png);
/*重复图像*/
background-repeat: no-repeat;
/*图像大小*/
background-size: 100px 100px;
/*对齐方式*/
background-position:center;
/*对齐方式*/
background-position:center;
/*相对定位(padding-box内边距/border-box边框/content-box内容框)*/
background-origin:content-box;
}
</style>