CSS:一个简单的欢迎页

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013101178/article/details/81562443

easygo

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <style type="text/css">
        * {
            padding: 0;
            margin: 0;
        }

        div {
            padding: 4px 48px;
        }

        body {
            background: #fff;
            font-family: "微软雅黑";
            color: #333;
        }

        h1 {
            font-size: 100px;
            font-weight: normal;
            margin-bottom: 12px;
        }

        p {
            line-height: 1.8em;
            font-size: 36px
        }
    </style>
</head>
<div style="padding: 24px 48px;">
    <h1>:)</h1>
    <p>欢迎来到 <b>CSDN</b></p>
</div>

</html>

猜你喜欢

转载自blog.csdn.net/u013101178/article/details/81562443