登录
首页 >  文章 >  前端

动画与新标志解锁!!!!

时间:2025-01-17 18:18:33 336浏览 收藏

各位小伙伴们,大家好呀!看看今天我又给各位带来了什么文章?本文标题《动画与新标志解锁!!!!》,很明显是关于文章的文章哈哈哈,其中内容主要会涉及到等等,如果能帮到你,觉得很不错的话,欢迎各位多多点评和分享!

动画与新标志解锁!!!!

<!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="heading">Prince_Codes1</div>
      <div class="text">
        "Transforming lines of code into vibrant digital art – Welcome to Prince_Codes1!"<br><br>
        "Follow us for visually stunning web animations and creative coding tutorials!"
      </div>
      <div class="logo"> <img alt="" src="./logo.png"></img></div>
    </div>
  </div>
</body>
</html>

本篇关于《动画与新标志解锁!!!!》的介绍就到此结束啦,但是学无止境,想要了解学习更多关于文章的相关知识,请关注golang学习网公众号!

相关阅读
更多>
最新阅读
更多>
课程推荐
更多>