写一个谷歌标志

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Google</title>
    <style type="text/css">
        .font100 {
            font-size: 100px;
        }

        .blue {

            color: blue;
        }

        .red {

            color: red;
        }

        .orange {

            color: orange;
        }

        .green {

            color: green;
        }
    </style>
</head>

<body>
    <!-- 一个标签内部只能有一个class -->
    <span class="blue font100">G</span>
    <span class="red font100">o</span>
    <span class="orange font100">o</span>
    <span class="blue font100">g</span>
    <span class="green font100">l</span>
    <span class="red font100">e</span>
</body>

</html>

版权声明:本文为Quebec_forever原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。