首頁 > web前端 > js教程 > 動畫與新標誌解鎖!!!!

動畫與新標誌解鎖!!!!

Susan Sarandon
發布: 2025-01-17 14:30:15
原創
150 人瀏覽過

Animation with New Logo Unlocked!!!!

<code class="language-html"><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Interactive Channel Logo</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap" rel="stylesheet">
    <style>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            overflow: hidden;
        }

        .container {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo-box {
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, #ff416c, #ff4b2b);
            border-radius: 50%;
            box-shadow: 0 0 30px #ff4b2b;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            transition: all 0.7s ease-in-out;
            position: relative;
        }

        .logo-box:hover {
            width: 400px;
            height: 250px;
            border-radius: 30px;
            background: linear-gradient(135deg, #1f1c2c, #928dab);
            box-shadow: 0 0 50px #928dab;
        }

        .logo {
            width: 200px;
            height: 200px;
            background: white;
            border-radius: 50%;
            transition: all 0.7s ease-in-out 0.7s;
            overflow: hidden;
            position: absolute;
        }

        .logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-box:hover .logo {
            right: 30px;
            width: 100px;
            height: 100px;
            top: 15px;
            border-radius: 50%;
        }

        .heading {
            font-family: 'Montserrat', sans-serif;
            font-size: 2em;
            font-weight: bolder;
            color: #fff;
            position: absolute;
            left: 30px;
            top: 40px;
            opacity: 0;
            transition: opacity 0.7s ease-in-out 0.3s;
        }

        .logo-box:hover .heading {
            opacity: 1;
        }

        .text {
            font-family: 'Montserrat', sans-serif;
            font-size: 1em;
            color: #ccc;
            position: absolute;
            left: 30px;
            bottom: 40px;
            opacity: 0;
            transition: opacity 0.7s ease-in-out 0.5s;
        }

        .logo-box:hover .text {
            opacity: 1;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="logo-box">
            <div class="logo">
                <img src="/uploads/20250117/17370953786789f8d2679c0.jpg" alt="Channel Logo">
            </div>
            <div class="heading">New Logo</div>
            <div class="text">Unlocked!</div>
        </div>
    </div>
</body>
</html></code>
登入後複製

以上是動畫與新標誌解鎖!!!!的詳細內容。更多資訊請關注PHP中文網其他相關文章!

來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
作者最新文章
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板