Css的边框border

原创 2019-03-03 22:27:56 185
摘要:<html><head>    <title>HTML基础-css第三课——boder边框</title>    <link rel="shortctut icon" type="image/x-icon" href="img/none

<html>
<head>
    <title>HTML基础-css第三课——boder边框</title>
    <link rel="shortctut icon" type="image/x-icon" href="img/none.ico">
    <link rel="stylesheet" type="text/css" href="css/index.css">
    <style type="text/css">
    .box{width: 100px;height: 100px;border: 1px /*solid double dashed*/ dotted #ccc;}
    .main{width: 100px;height: 100px;border-top: 1px solid #ccc;background: red;margin-top: 20px;}
    </style>

</head>
<body>
<div class="box"></div>
<div class="main"></div>
</body>
</html>

批改老师:灭绝师太批改时间:2019-03-04 09:13:01
老师总结:时间允许的话,案例可以跳出老师上课内容,自行拓展!

发布手记

热门词条