返回用CSS来设置......登陆

用CSS来设置网页当中的边框

Ollie2019-02-14 12:57:47297

跟着老师视频做的一个css边框小练习


<!DOCTYPE>    

<html>    

<head>    

<meta charset="utf-8">    

<title> css——边框   </title>    

<style type="text/css">    

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

.main{width:100px;height:100px;border-top: 1px solid red;background:#ccc;}    

.shadow{width:300px;height:40px;box-shadow: 5px 5px #ccc inset;border:1px solid #ccc ;}    

button{border:none;}    

</style>    

</head>    

<body>    

<div class="box"></div>    

<div class="main"></div>    

<button>登录</button>    

<div class="shadow"></div>    

</body>    

</html>    


最新手记推荐

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

全部回复(0)我要回复

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