返回border ......登陆

border 边框{宽度 实线 颜色} 圆角border-radius 阴影box-shadow

未来已来2019-03-27 16:49:37294



border 边框{宽度 实线 颜色}  圆角border-radius 阴影box-shadow

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>css样式border边框</title>

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

<link rel="stylesheet" type="text/css" href="css/style.css">

<style type="text/css">

*{margin:0;padding: 0;}

.box{

width:200px;

height:200px;

border:1px dotted blue;

border-radius: 50px;

}

.main{

width:200px;

height:200px;

border-top:1px solid red;

background:#ccc;

border-right: 1px solid red;

}

button{

border:none;

background:red;

}

.shadow{

width:400px;

height:40px;

border:1px solid red;

box-shadow: 0px 20px 40px #ccc inset;

}

</style>

</head>

<body>

<div></div>

<div></div>

<button>登陆</button>

<div></div>

</body>

</html>



最新手记推荐

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

全部回复(0)我要回复

暂无评论~
  • 取消回复发送