border-image的拉伸和平铺
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style type="text/css">
#rd,#st{ height:100px; border-width:30px;}
#rd{ border-image:url(5.3%20%E8%AF%BE%E5%A0%82/images/border.png) 20 stretch;}
#st{ border-image:url(5.3%20%E8%AF%BE%E5%A0%82/images/border.png) 20 round;}
</style>
</head>
<body>
<div id="rd"></div> <div id="st"></div>
</body>
</html>
你要记得,输出到了一定量的时候,迟早会有所得
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步