<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>边框,细线、虚线、点线</title>
<style>
div {
width: 300px;
height: 200px;
border-width: 5px;
border-color: blueviolet;
text-align: center;
/* 边框细线 */
/* border-style: solid; */
/* 边框虚线 */
/* border-style: dashed; */
/* 边框点画线 */
border-style: dotted;
}
</style>
</head>
<body>
<div> 陈哈哈</div>
</body>
</html>
前端边框设置,细线、虚线、点线
猜你喜欢
转载自blog.csdn.net/qq_55061257/article/details/119029640
今日推荐
周排行