边框以及阴影调试

原创 2018-10-29 13:44:34 305
摘要:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>css边框</title> <link rel="shortcut icon" type="image/x-icon" href="&q

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>css边框</title>

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

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

<style type="text/css">

.box{width: 100px;height: 100px;border: 1px /*solid*/ /*double*/ /*dashed*/ dotted #ccc;border-radius: 100px;}

.box2{height: 100px;width: 100px;border-top: 1pc solid pink;background: #ccc; border-bottom: 1pc solid blue;}

button{border: none;}

.shadow{width: 200px;height: 200px;box-shadow: 10px 5px 3px #ccc inset; border: 1px dotted pink;}

</style>

</head>

<body>

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

  <div class="box2"></div>

  <button>dididi</button>

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

</body>

</html>



发布手记

热门词条