Blogger Information
Blog 26
fans 0
comment 1
visits 20554
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3月23日作业
木易阳的博客
Original
639 people have browsed it

3月23日作业

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS控制列表</title>
    <style>
        .list {
            width: 350px;
            height:500px;
            /*background-color: lightskyblue;*/
            border: 1px solid #696969;
            border-radius: 2%;
            color: #363636;
            background-color: #fefefe;

        }

        .list h2 {
            padding-left: 20px;
        }

        .item {
 
            list-style-type:decimal;

            list-style-position: inside;

            padding: 10px;
        }
        .item li {
            /*background-color: lightgreen;*/

        }

        .item li a {
            text-decoration: none;
        }
        .item li a:hover {
            text-decoration: underline;
            color:#6CF;
            font-size: 1.05em;
        }



    </style>
</head>
<body>

<div class="list">
    <h2>仓央嘉措</h2>
    <ul class="item">
        <li><a href="">最好不相见,</a></li>
        <li><a href="">如此便可不相恋。</a></li>
        <li><a href="">最好不相知,</a></li>
        <li><a href="">如此便可不相思。</a></li>
        <li><a href=""> --仓央嘉措</a></li>
        <li><a href="">最好不相见</a></li>
        <li><a href="">如此便可不相恋</a></li>
        <li><a href="">最好不相知,</a></li>
        <li><a href=""> --仓央嘉措</a></li>
    </ul>
</div>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

手抄

微信图片_20180326194054.jpg

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post