个人介绍网页效果比较简单版

代码

注:图片大家可以选择自己喜欢的,不在另外附加喽

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Chris</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background: url(photo.jpg) no-repeat;
            background-size: cover;
        }

        .box {
            color: rgb(6, 173, 151);
            width: 450px;
            background: rgba(0, 0, 0, 0.4);
            padding: 40px;
            text-align: center;
            margin: auto;
            margin-top: 5%;
            font-family: 'Century Gothic', sans-serif;
        }

        .box .box-img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
        }

        .box h1 {
            font-size: 50px;
            letter-spacing: 4px;
            font-weight: 400;
        }

        .box h2 {
            font-size: 30px;
            letter-spacing: 3px;
            font-weight: 300;

        }

        .one {
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            color: grey;
        }

        .one:hover {
            color: rgb(6, 173, 151);
        }
    </style>
</head>

<body>
    <div class="box">
        <img src="QQ图片20200914221312.jpg" alt="" class="box-img">
        <h1 class="name">Chris</h1>
        <h2>Web Designer</h2>
        <h3>Welcome to my personal website!</h3>
        <h3>If you want to know more about me,please click this</h3>
        <a href="Chris2.html" class="one">Chris</a>
    </div>
</body>

</html>

如果想了解更多的话可以看—>简单的个人介绍网页-主页面【附代码】
简单的个人介绍网页-开场特效(HTML+CSS)【附代码】
简单的个人介绍网页-开场特效2(HTML+CSS)【附代码】

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐