css实现海上生明月中秋节快乐动画效果代码

代码语言:html

所属分类:其他

代码描述:css实现海上生明月中秋节快乐动画效果代码

代码标签: css 海上 明月 中秋节 快乐 动画

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">


<!--     <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet">
 -->

<link rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/fonts/fnyrdzstBold.css" />

    <style>
        body,
        html {
          width: 100%;
          height: 100%;
          display: flex;
          background: #000;
          font-family:'fnyrdzstBold', sans-serif;
        }
        
        .container {
          width: 100%;
          height: 100%;
          background: #000;
          margin: auto;
        }
        .container .top {
          position: fixed;
          top: 0;
          left: 0;
          width: 100vw;
          height: 50vh;
          overflow: hidden;
        }
        .container .top:before {
          content: "";
          position: absolute;
          border-radius: 50%;
          bottom: 0;
          left: 50%;
          width: 240px;
          height: 240px;
          transform: translate(-50%, 120px);
          box-sizing: border-box;
          background: radial-gradient(50% 50% at 50% 50%, #fffa99 0%, #fffdde 100%);
          border: 1px solid #fff;
          z-index: 1;
          box-shadow: 0 0 16px 4px rgba(255, 250, 153, 0.8), 0 0 32px 8px rgba(255, 250, 153, 0.6);
        }
        .container .top:after {
          content: "";
          position: absolute;
          bottom: -6px;
          left: 0;
          right: 0;
          margin: 0 auto;
          border-radius: 50%;
          height: 8px;
          width: 90%;
          min-width: 360px;
          background: radial-gradient(50% 50% at 50% 50%, #fffa99 0%, #fffdde 100%);
          filter: blur(8px);
          z-indez: 10;
        }
        .container .bottom {
          position: fixed;
          top: 50vh;
          left: 0;
          width: 100vw;
          height: 50vh;
          background: #000;
          overflow: hi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0