<style type="text/css">
*{
margin: 0;
padding: 0;
}
#bt{
width: 500px;
height: 450px;
border:27px solid;
margin: 0 auto;
-moz-border-image: url(bt.png) 27;
}
</style>
<script type="text/javascript"></script>
</head>
<body>
<div id="bt"></div>
</body>
</html>
//结果如下图
<img src="https://img-blog.csdn.net/20141225094617046" alt="" />
border-image的使用
最新推荐文章于 2023-09-06 16:16:29 发布