学习CSS第三节课 ——边框

Original 2019-04-01 10:14:19 123
abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>学习CSS第三节课 ——边框</title> <link rel="shortcut" type="image/x-icon" href=&quo

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>学习CSS第三节课 ——边框</title>

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

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

<style type="text/css">

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

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

.botton{border:none;}

.shadow{width:300px;height: 40px;box-shadow: 0px 6px 30px #ccc inset; /*border: 1px solid #ccc;*/}

</style>

</head>

<body>

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

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

<botton>登录</botton>

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

</body>

</html>


Release Notes

Popular Entries