Web 上升的圆心

DOCTYPE html>
<html>
<head>
    <title>2024-lovetitle>
    <style>
        body {
     
            margin: 0;
            padding: 0;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #fff;
        }
        canvas {
     
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1; /* 设置画布的 z-index 值 */
        }
        .text-container {
     
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2; /* 设置文字容器的 z-index 值 */
            font-size: 4rem;
            font-weight: bold;
            color<

你可能感兴趣的:(#,Web,前端,css,javascript)