SOURCE

console 命令行工具 X clear

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            position: relative;
            width: 800px;
            height: 600px;
            background: url(4.png) no-repeat;
            background-size: 100% 100%;
            border: 2px solid black;
        }
        
        h1 {
            position: absolute;
            left: 35%;
            top: 150px;
            font-family: "隶书";
            font-size: 4em;
            color: hotpink;
        }
        
        p {
            position: absolute;
            left: 20%;
            top: 300px;
            font-family: "仿宋";
            font-size: 2em;
            color: dodgerblue;
        }
    </style>
</head>

<body>
    <div class="box">
        <h1>生日快乐</h1>
        <p>张三,祝你福如东海寿比南山!</p>
    </div>
</body>

</html>