CSS是什么?这一篇全解,绝对有你想要的( 六 )


CSS是什么?这一篇全解,绝对有你想要的

文章插图
 
<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <title>Title</title>    <style>        .back {            width: 1000px;            height: 1000px;            margin: 0 auto;            background-color: #ddd;            position: relative;        }        .back-in {            position: absolute;            width: 1020px;            height: 45px;            left: -20px;            top: 50px;            background-color: #2F4F4F;        }        .back-img {            border: 20px solid transparent;            border-top: 10px solid dimgrey;            border-right: 0;            display: inline-block;            position: absolute;            top: 95px;            left: -20px;        }        .back-font {            line-height: 9px;            margin-left: 30px;            color: white;        }    </style></head><body>    <div class="back">        <div class="back-in"><h3 class="back-font">妹子求关注 ^.^</h3></div>        <div class="back-img"></div>    </div></body></html>2.


推荐阅读