div+Css布局实现员工图文卡片排行榜列表效果代码
代码语言:html
所属分类:布局界面
代码描述:div+Css布局实现员工图文卡片排行榜列表效果代码
代码标签: div Css 布局 员工 图文 卡片 排行榜 列表
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
<style>
:root {
--primary: #4361ee;
--secondary: #3f37c9;
--accent: #4895ef;
--light: #f8f9fa;
--dark: #212529;
--success: #4cc9f0;
--warning: #f72585;
--muted: #6c757d;
--card-bg: rgba(255,255,255,0.85);
--glass-effect: blur(10px)
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif
}
body {
background: linear-gradient(135deg,#f5f7fa 0,#c3cfe2 100%);
color: var(--dark);
line-height: 1.7;
min-height: 100vh;
padding: 2rem;
background-attachment: fixed;
background-size: cover
}
.container {
max-width: 1400px;
margin: 0 auto
}
header {
text-align: center;
margin-bottom: 3rem;
position: relative;
padding: 2rem 0
}
.header-content {
position: relative;
z-index: 2
}
h1 {
font-size: 3.5rem;
margin-bottom: 1rem;
background: linear-gradient(to right,#4361ee,#3a0ca3,#f72585);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-weight: 800;
letter-spacing: -1px
}
.subtitle {
font-size: 1.25rem;
color: var(--muted);
max-width: 700px;
margin: 0 auto;
font-weight: 300
}
.decorative-circle {
position: absolute;
border-radius: 50%;
opacity: .15;
z-index: 1
}
.circle-1 {
width: 200px;
height: 200px;
background: var(--primary);
top: -50px;
left: 10%;
animation: float 6s ease-in-out infinite
}
.circle-2 {
width: 150px;
height: 150px;
background: var(--warning);
bottom: -30px;
right: 15%;
animation: float 8s ease-in-out infinite reverse
}
.honor-board {
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0