摘要:<!--CSS基礎(chǔ)--><!DOCTYPE html><html><head> <meta charset="utf-8"> <title>CSS第三節(jié)課--邊框</title> <link rel="shortcut icon" type="images/x
<!--CSS基礎(chǔ)-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS第三節(jié)課--邊框</title>
<link rel="shortcut icon" type="images/x-icon" href="images/logo.jpg">
<link rel="stylesheet" type="text/css" href="css/index.css">
<style type="text/css">
/**{padding:0px;margin: 0px;}瀏覽器自帶邊距清零*/
.box{width: 100px;height: 100px;border:1px /*solid double dashed */ dotted #ccc;border-radius: 10px;}
.main{width: 100px;height: 100px;border-top:1px solid red;background: #ccc;}
button{border: none;}
.shadow{width: 100px;height: 40px;box-shadow: 0px 6px 30px #ccc inset;border: 1px solid #ccc;text-align: center;line-height: 40px;}
.shadow:hover{box-shadow: 0px 6px 30px red inset;}
</style>
</head>
<body>
<!--<div class="box"></div>
<div class="main"></div>
<button>登錄</button>-->
<div class="shadow" style="float: left;">HTML</div>
<div class="shadow" style="float: left;">CSS</div>
<div class="shadow" style="float: left;">JavaScript</div>
</body>
</html>
批改老師:查無此人批改時(shí)間:2019-04-18 09:59:15
老師總結(jié):完成的不錯(cuò)。把常用的css寫到公用文件,每次使用隨時(shí)拿出來。繼續(xù)加油。