day6 网络 HTML模板

1.HTML模板

                   HTML模板 baidu一下

http://www.cssmoban.com/

http://www.cnblogs.com/web-d/archive/2010/04/16/1713298.html

 

    

 

 

2.插入图标

    

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css"/>
    <style>
        .item{
            background-color: #dddddd;
        }
        .item:hover{
            color: red;
        }
        .item:hover .b{
            background-color: aqua;
        }
    </style>
</head>
<body>
    <div class="item">
        <div class="a">
            <i class="fa fa-superpowers" aria-hidden="true"></i>
        </div>
        <div class="b">
            <i class="fa fa-apple" aria-hidden="true"></i>
        </div>
    </div>
</body>
</html>

 

posted @ 2017-11-02 16:46  venicid  阅读(183)  评论(0编辑  收藏  举报