div+css实现炫酷锥形走光动画货币余额卡片ui代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现炫酷锥形走光动画货币余额卡片ui代码
代码标签: div css 炫酷 锥形 走光 动画 货币 余额 卡片 ui 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neon UI Card</title>
<!-- 引入类似设计的字体 -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
/* CSS 变量定义核心颜色 */
:root {
--bg-color: #050505;
--card-bg: #111111;
--text-white: #ffffff;
--text-grey: #888888;
--neon-green: #00ff9d;
--neon-yellow: #ccff00;
--accent-bg: rgba(255, 255, 255, 0.05);
}
/* 允许渐变角度进行动画 */
@property --angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-color);
background-image: radial-gradient(circle at 50% 50%, #0d1f18 0%, #000000 100%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0