返回盒模型边框设置...登陆

盒模型边框设置

蛋炒饭2019-03-06 14:23:38189

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Document</title>

<style>

*{margin:0;padding:0;}

div{margin:50px auto;}

.crl{width: 200px;height:50px;border:1px solid #ccc;}

.ty{width: 200px;height:200px;border:1px solid #ccc;border-radius:100px;}

.out-shadow{

width: 500px;

height:200px;

box-shadow:0px 6px 20px yellow;

}

.inner-shadow{

width: 500px;

height:200px;

box-shadow:0px 6px 20px red inset;

}

</style>

</head>

<body>


<div class="crl"></div>

<div class="ty"></div>

<div class="out-shadow">外阴影</div>

<div class="inner-shadow">内阴影</div>


</body>

</html>

最新手记推荐

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

全部回复(0)我要回复

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