返回HTML中bo......登陆

HTML中border属性设置(CSS边框样式)20190715

刘静2019-07-15 16:03:5599

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>CSS边框样式</title>

<!-- <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> -->

<style type="text/css">

.box{width:100px;height:100px;border:1px solid #ccc;margin-bottom:20px;}

.box1{width:100px;height:100px;border:1px double lightcoral;margin:20px 0px;border-radius:20px;}

.box2{width:100px;height:100px;border:1px dashed lightblue;margin:20px 0px;border-radius:50px;}

.box3{width:100px;height:100px;border:1px dotted lightgreen;margin:10px 0px;box-shadow:10px 5px 3px #cfcfcf;}

.box4{width:100px;height:100px;margin:10px 0px;margin:20px 0px;box-shadow:0px 6px 40px #cfcfcf inset;}

button{border:none;}

</style>

</head>

<body>

<div></div>

<div></div>

<div></div>

<div></div>

<div></div>

<button>登录</button>


</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送
  • PHP中文网