类似这种的
世俗 今天看到了一个 55.al 准备扒
扒下来了 给你
<!doctype html> <html lang="zh-CN"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>demo</title> <style> :root { --text-color: #3c3c3c; --font-light: 300; --border-radius: 50%; } body, html { height: 100%; margin: 0; padding: 0; } .container { display: flex; height: 100%; } .left { flex: 1; background: url('https://55.al/2022_01_31_09_43_830CE948-4F30-436C-B771-A3D22D86705C.jpg') no-repeat center center; background-size: cover; } .right { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: var(--font-light); position: relative; width: 60%; } .index_box { display: flex; justify-content: center; align-items: center; height: 100vh; } .index_txt { text-align: center; font-weight: var(--font-light); } .index_txt img { border-radius: var(--border-radius); width: 140px; height: 140px; } .index_txt h1 { font-size: 30px; margin: 20px 0; } .zuobiao, .record-info { color: var(--text-color); line-height: 1.8; font-size: 14px; } ul, ol { list-style: none; padding: 0; margin: 0; } .index_txt p { font-size: 16px; font-weight: inherit; line-height: 30px; width: 70%; margin: 20px auto; } .avatar { width: 100px; height: 100px; border-radius: var(--border-radius); background: url('https://q1.qlogo.cn/g?b=qq&nk=8885155&s=640') no-repeat center center; background-size: cover; margin-right: 20px; } .description { font-size: 20px; color: #333; } .nav { margin-top: 20px; } .nav_box { display: flex; justify-content: space-evenly; width: 100%; } .nav_box a { text-decoration: none; color: #000; } .record-info { position: absolute; bottom: 10px; left: 10px; } </style> </head> <body> <div class="container"> <div class="left"></div> <div class="right"> <div class="index_box"> <div class="index_txt"> <img src="https://q1.qlogo.cn/g?b=qq&nk=8885155&s=640" alt="用户头像" /> <h1>平凡秀</h1> <p>此后我的生命里,就有了你的名字。</p> <div class="zuobiao"> <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-geo-alt" fill="currentColor" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" d="M12.166 8.94C12.696 7.867 13 6.862 13 6A5 5 0 0 0 3 6c0 .862.305 1.867.834 2.94.524 1.062 1.234 2.12 1.96 3.07A31.481 31.481 0 0 0 8 14.58l.208-.22a31.493 31.493 0 0 0 1.998-2.35c.726-.95 1.436-2.008 1.96-3.07zM8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10z" ></path> <path fill-rule="evenodd" d="M8 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"></path> </svg> 中国 · 贵州 </div> <nav class="nav"> <div class="nav_box"> <a href="/" aria-current="page" title="首页">首页</a> <a href="/life" title="生活">生活</a> <a href="/articles" title="文章">文章</a> </div> </nav> </div> </div> <footer class="record-info">备案信息: 你的备案号</footer> </div> </div> </body> </html>
不太还原 没加nav效果
bra 自荐一下ggno.de
偷了
bra 好的
我能发个源码帖子不