<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.box01{
width: 100px;
height: 100px;
/*border: 1px solid red;*/
/*四个边框分开设置*/
/* solid 实线 double 双线 dotted 圆点 dashed 虚线*/
border-top: 3px solid red;
border-left: 5px double black;
border-right: 5px dotted green;
border-bottom: 5px dashed blue;
}
</style>
</head>
<body>
<div class="box01">
1
</div>
</body>
</html>
边框属性
最新推荐文章于 2022-07-21 05:30:00 发布