css实现精致发光版本号效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现精致发光版本号效果代码

代码标签: css 精致 发光 版本号

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

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        body {
          min-height: 100vh;
          font-family: "Inter", sans-serif;
          display: flex;
          justify-content: center;
          align-items: center;
          background: linear-gradient(135deg, #273EA2, #7548B1);
        }
        
        * {
          box-sizing: border-box;
        }
        
        .v-badge {
          position: relative;
          text-decoration: none;
          padding: 8px 16px;
          color: white;
          font-weight: 500;
          text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          background: linear-gradient(#6D67B9, #5747AC);
          border-radius: 999px;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
          user-select: none;
        }
        .v-badge span {
          width: 25px;
          height: 25px;
          position: absolute;
          top: -12px;
          right: -2px;
          transform: rotate(-20deg);
          filter: blur(0.5px);
        }
        .v-badge span:before, .v-badge span:after {
          content: "";
          position: absolute;
        }
        .v-badge span:before {
          width: 1px;
          height: 100%;
          left:.........完整代码请登录后点击上方下载按钮下载查看

网友评论0