⚡ 使用说明:本文档为大胆现代风格的UI设计规范示例文档。
🎯 目的:定义基于大胆视觉冲击和现代设计理念的风格规范,运用强烈色彩对比、几何图形和动态效果,营造前卫时尚且充满活力的视觉体验。
大胆突破 · 现代前卫 · 视觉冲击
采用强烈的色彩对比和大胆的视觉元素,融合现代几何美学与动态交互设计,创造具有强烈视觉冲击力的用户体验。设计强调创新与突破,通过不对称布局、渐变色彩和大胆的排版组合,打造如同现代艺术展览般的前卫数字空间,体现当代设计的创新精神和时代特色。
🚀 大胆现代风格 - 前卫创新的数字体验
本设计风格专为追求视觉冲击和现代感的应用场景设计,适合年轻化、创新性的用户群体:
强烈视觉冲击的色彩语言
#00BFFF
(Electric Blue - 强烈的电光蓝色)#FF1493
(Hot Pink - 鲜艳的荧光粉色)#39FF14
(Neon Green - 明亮的霓虹绿色)#FF4500
(Orange Red - 充满活力的橙红色)#000000
(Pure Black - 极致的对比黑色)#FFFFFF
(Pure White - 清纯的对比白色)#4B0082
(Indigo - 神秘的深紫色)#C0C0C0
(Silver - 现代感的金属银色)linear-gradient(45deg, #FF1493, #00BFFF, #39FF14, #FF4500)
linear-gradient(135deg, #FF1493 0%, #00BFFF 50%, #39FF14 100%)
linear-gradient(90deg, #000000 0%, #FF1493 50%, #FFFFFF 100%)
linear-gradient(270deg, #4B0082, #FF4500, #00BFFF)
#32CD32
(Lime Green - 明亮的青柠绿)#FFD700
(Gold - 醒目的金黄色)#DC143C
(Crimson - 强烈的深红色)#1E90FF
(Dodger Blue - 清晰的道奇蓝)突破传统的排版美学
.bold-typography {
font-family: 'Montserrat', 'Helvetica Neue', 'Arial Black', sans-serif;
font-weight: 900; /* 极粗字重 */
line-height: 1.2; /* 紧密行距 */
letter-spacing: -0.02em; /* 紧密字间距 */
}
.title-bold {
font-size: 64px;
font-weight: 900;
line-height: 0.9;
color: #FF1493;
margin-bottom: 24px;
letter-spacing: -0.05em;
text-transform: uppercase;
background: linear-gradient(45deg, #FF1493, #00BFFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle-bold {
font-size: 36px;
font-weight: 800;
line-height: 1.1;
color: #00BFFF;
margin-bottom: 20px;
letter-spacing: -0.03em;
text-transform: uppercase;
}
.heading-bold {
font-size: 28px;
font-weight: 700;
line-height: 1.2;
color: #39FF14;
margin-bottom: 16px;
letter-spacing: -0.01em;
}
.body-bold {
font-size: 18px;
font-weight: 600;
line-height: 1.4;
color: #000000;
letter-spacing: 0;
}
.accent-text {
font-size: 20px;
font-weight: 800;
color: #FF4500;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.experimental-text {
font-size: 48px;
font-weight: 900;
background: linear-gradient(45deg, #FF1493, #00BFFF, #39FF14, #FF4500);
background-size: 400% 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 3s ease-in-out infinite;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.outline-text {
font-size: 54px;
font-weight: 900;
color: transparent;
-webkit-text-stroke: 3px #FF1493;
text-stroke: 3px #FF1493;
text-transform: uppercase;
letter-spacing: 0.1em;
}
.shadow-text {
font-size: 42px;
font-weight: 800;
color: #00BFFF;
text-shadow:
4px 4px 0px #FF1493,
8px 8px 0px #39FF14,
12px 12px 0px #FF4500;
}
.split-text {
font-size: 38px;
font-weight: 900;
background: linear-gradient(90deg, #FF1493 50%, #00BFFF 50%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: 0.1em;
}
打破传统的视觉平衡
.asymmetric-layout {
display: grid;
grid-template-columns: 1fr 2fr 1.5fr;
grid-template-rows: 150px 1fr 200px;
gap: 30px;
min-height: 100vh;
padding: 40px;
}
.layout-block-1 {
grid-column: 1 / 2;
grid-row: 1 / 3;
background: linear-gradient(135deg, #FF1493, #4B0082);
border-radius: 20px;
transform: rotate(-2deg);
}
.layout-block-2 {
grid-column: 2 / 4;
grid-row: 1 / 2;
background: linear-gradient(45deg, #00BFFF, #39FF14);
border-radius: 30px;
transform: skew(-5deg);
}
.layout-block-3 {
grid-column: 2 / 3;
grid-row: 2 / 4;
background: linear-gradient(270deg, #FF4500, #FFD700);
border-radius: 25px;
transform: rotate(1deg);
}
.layout-block-4 {
grid-column: 3 / 4;
grid-row: 2 / 3;
background: linear-gradient(180deg, #39FF14, #00BFFF);
border-radius: 40px;
transform: skew(3deg);
}
强烈视觉冲击的界面元素
.btn-bold-primary {
background: linear-gradient(45deg, #FF1493, #00BFFF);
color: #FFFFFF;
border: none;
border-radius: 25px;
padding: 18px 36px;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.1em;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
position: relative;
overflow: hidden;
}
.btn-bold-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #00BFFF, #39FF14);
transition: left 0.5s ease;
z-index: -1;
}
.btn-bold-primary:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 12px 35px rgba(255, 20, 147, 0.6);
}
.btn-bold-primary:hover::before {
left: 0;
}
.btn-bold-secondary {
background: transparent;
color: #FF1493;
border: 4px solid #FF1493;
border-radius: 20px;
padding: 14px 32px;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.btn-bold-secondary::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
background: #FF1493;
transition: width 0.4s ease;
z-index: -1;
}
.btn-bold-secondary:hover {
color: #FFFFFF;
border-color: #00BFFF;
transform: scale(1.08);
}
.btn-bold-secondary:hover::before {
width: 100%;
background: linear-gradient(45deg, #FF1493, #00BFFF);
}
.btn-neon {
background: #000000;
color: #39FF14;
border: 2px solid #39FF14;
border-radius: 15px;
padding: 16px 30px;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
cursor: pointer;
transition: all 0.3s ease;
box-shadow:
0 0 20px rgba(57, 255, 20, 0.5),
inset 0 0 20px rgba(57, 255, 20, 0.1);
}
.btn-neon:hover {
background: #39FF14;
color: #000000;
box-shadow:
0 0 30px rgba(57, 255, 20, 0.8),
0 0 50px rgba(57, 255, 20, 0.6);
transform: scale(1.05);
}
.card-bold {
background: linear-gradient(135deg, #FFFFFF 0%, #F8F8FF 100%);
border: none;
border-radius: 25px;
padding: 32px;
margin-bottom: 32px;
box-shadow:
0 15px 40px rgba(0, 0, 0, 0.15),
0 5px 20px rgba(0, 0, 0, 0.1);
transition: all 0.4s ease;
position: relative;
overflow: hidden;
}
.card-bold::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(90deg, #FF1493, #00BFFF, #39FF14, #FF4500);
background-size: 400% 100%;
animation: colorFlow 3s linear infinite;
}
@keyframes colorFlow {
0% { background-position: 0% 0%; }
100% { background-position: 400% 0%; }
}
.card-bold:hover {
transform: translateY(-10px) rotate(1deg);
box-shadow:
0 25px 60px rgba(0, 0, 0, 0.2),
0 10px 30px rgba(0, 0, 0, 0.15);
}
.card-bold-accent {
background: linear-gradient(45deg, #FF1493, #4B0082);
color: #FFFFFF;
border-radius: 30px;
padding: 40px;
position: relative;
overflow: hidden;
}
.card-bold-accent::after {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0; }
50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}
.card-header-bold {
border-bottom: 4px solid transparent;
border-image: linear-gradient(90deg, #FF1493, #00BFFF) 1;
padding-bottom: 20px;
margin-bottom: 24px;
}
.card-title-bold {
font-size: 28px;
font-weight: 900;
color: #FF1493;
margin: 0;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.form-bold {
max-width: 500px;
margin: 0 auto;
background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 100%);
padding: 40px;
border-radius: 25px;
border: 4px solid transparent;
background-clip: padding-box;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
position: relative;
}
.form-bold::before {
content: '';
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
background: linear-gradient(45deg, #FF1493, #00BFFF, #39FF14, #FF4500);
border-radius: 25px;
z-index: -1;
background-size: 400% 400%;
animation: borderFlow 4s ease-in-out infinite;
}
@keyframes borderFlow {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.input-bold {
width: 100%;
background: #FFFFFF;
border: 3px solid #E0E0E0;
border-radius: 15px;
padding: 16px 20px;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 600;
color: #000000;
outline: none;
transition: all 0.3s ease;
}
.input-bold:focus {
border-color: #FF1493;
box-shadow:
0 0 20px rgba(255, 20, 147, 0.3),
0 0 0 4px rgba(255, 20, 147, 0.1);
transform: scale(1.02);
}
.input-bold::placeholder {
color: #999999;
font-weight: 400;
font-style: italic;
}
.label-bold {
display: block;
font-size: 14px;
font-weight: 800;
color: #FF1493;
margin-bottom: 8px;
text-transform: uppercase;
letter-spacing: 0.1em;
}
.checkbox-bold {
width: 24px;
height: 24px;
border: 3px solid #00BFFF;
border-radius: 8px;
background: #FFFFFF;
cursor: pointer;
position: relative;
transition: all 0.3s ease;
}
.checkbox-bold:checked {
background: linear-gradient(45deg, #FF1493, #00BFFF);
border-color: #FF1493;
transform: scale(1.1);
}
.checkbox-bold:checked::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #FFFFFF;
font-size: 16px;
font-weight: 900;
}
大胆的抽象视觉语言
.geo-bold-circle {
width: 120px;
height: 120px;
background: linear-gradient(45deg, #FF1493, #00BFFF);
border-radius: 50%;
position: relative;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
.geo-bold-triangle {
width: 0;
height: 0;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
border-bottom: 104px solid #39FF14;
position: relative;
animation: rotate 6s linear infinite;
}
@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.geo-bold-rectangle {
width: 200px;
height: 80px;
background: linear-gradient(90deg, #FF4500, #FFD700);
border-radius: 20px;
transform: skew(-10deg);
transition: transform 0.3s ease;
}
.geo-bold-rectangle:hover {
transform: skew(-5deg) scale(1.05);
}
.geo-hexagon {
width: 100px;
height: 100px;
background: linear-gradient(135deg, #4B0082, #FF1493);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
}
.abstract-blob {
width: 200px;
height: 200px;
background: linear-gradient(45deg, #FF1493, #00BFFF, #39FF14);
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
0%, 100% {
border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
transform: rotate(0deg);
}
25% {
border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
transform: rotate(90deg);
}
50% {
border-radius: 50% 60% 30% 60% / 60% 40% 60% 30%;
transform: rotate(180deg);
}
75% {
border-radius: 60% 40% 60% 30% / 30% 50% 40% 70%;
transform: rotate(270deg);
}
}
.geometric-pattern {
width: 300px;
height: 300px;
background:
linear-gradient(45deg, transparent 35%, #FF1493 35%, #FF1493 65%, transparent 65%),
linear-gradient(-45deg, transparent 35%, #00BFFF 35%, #00BFFF 65%, transparent 65%);
background-size: 40px 40px;
animation: patternShift 4s linear infinite;
}
@keyframes patternShift {
0% { background-position: 0 0, 0 0; }
100% { background-position: 40px 40px, -40px 40px; }
}
.gradient-orb {
width: 150px;
height: 150px;
background: radial-gradient(circle at 30% 30%, #FF1493, #4B0082, #000000);
border-radius: 50%;
box-shadow:
0 0 50px rgba(255, 20, 147, 0.6),
0 0 100px rgba(75, 0, 130, 0.4),
inset 0 0 50px rgba(255, 255, 255, 0.1);
animation: glow 3s ease-in-out infinite alternate;
}
@keyframes glow {
0% {
box-shadow:
0 0 30px rgba(255, 20, 147, 0.4),
0 0 60px rgba(75, 0, 130, 0.2),
inset 0 0 30px rgba(255, 255, 255, 0.05);
}
100% {
box-shadow:
0 0 80px rgba(255, 20, 147, 0.8),
0 0 150px rgba(75, 0, 130, 0.6),
inset 0 0 80px rgba(255, 255, 255, 0.15);
}
}
打破传统的现代编排
.page-bold {
min-height: 100vh;
background: linear-gradient(135deg, #FFFFFF 0%, #F0F8FF 50%, #F5F5DC 100%);
display: grid;
grid-template-columns: 1fr 2fr 1.5fr 1fr;
grid-template-rows: 100px 1fr 80px;
grid-template-areas:
"header header header header"
"sidebar main main aside"
"footer footer footer footer";
gap: 20px;
padding: 20px;
position: relative;
overflow: hidden;
}
.page-bold::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background:
radial-gradient(circle at 20% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
radial-gradient(circle at 40% 40%, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
pointer-events: none;
animation: backgroundShift 10s ease-in-out infinite;
}
@keyframes backgroundShift {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.header-bold {
grid-area: header;
background: linear-gradient(90deg, #FF1493, #00BFFF);
border-radius: 25px;
display: flex;
align-items: center;
padding: 0 40px;
box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
transform: skew(-2deg);
}
.sidebar-bold {
grid-area: sidebar;
background: linear-gradient(135deg, #39FF14, #00BFFF);
border-radius: 20px;
padding: 30px;
transform: rotate(-1deg);
box-shadow: 0 15px 40px rgba(57, 255, 20, 0.3);
}
.main-bold {
grid-area: main;
background: #FFFFFF;
border-radius: 30px;
padding: 40px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
}
.main-bold::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: conic-gradient(from 0deg, #FF1493, #00BFFF, #39FF14, #FF4500, #FF1493);
opacity: 0.05;
animation: spin 20s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.aside-bold {
grid-area: aside;
background: linear-gradient(45deg, #FF4500, #FFD700);
border-radius: 15px;
padding: 25px;
transform: skew(2deg);
box-shadow: 0 12px 35px rgba(255, 69, 0, 0.3);
}
.footer-bold {
grid-area: footer;
background: linear-gradient(90deg, #4B0082, #FF1493);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 25px rgba(75, 0, 130, 0.3);
transform: skew(1deg);
}
.experimental-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: repeat(4, 150px);
gap: 20px;
margin: 40px 0;
}
.grid-item-1 {
grid-column: 1 / 3;
grid-row: 1 / 3;
background: linear-gradient(45deg, #FF1493, #4B0082);
border-radius: 25px;
transform: rotate(-5deg);
}
.grid-item-2 {
grid-column: 3 / 5;
grid-row: 1 / 2;
background: linear-gradient(135deg, #00BFFF, #39FF14);
border-radius: 30px;
transform: skew(-10deg);
}
.grid-item-3 {
grid-column: 5 / 7;
grid-row: 1 / 4;
background: linear-gradient(270deg, #FF4500, #FFD700);
border-radius: 20px;
transform: rotate(3deg);
}
.grid-item-4 {
grid-column: 1 / 4;
grid-row: 3 / 5;
background: linear-gradient(180deg, #39FF14, #00BFFF);
border-radius: 35px;
transform: skew(5deg);
}
.grid-item-5 {
grid-column: 4 / 5;
grid-row: 2 / 4;
background: linear-gradient(90deg, #FF1493, #FF4500);
border-radius: 40px;
transform: rotate(-2deg);
}
充满活力的导航设计
.nav-bold {
display: flex;
align-items: center;
gap: 0;
padding: 0 40px;
height: 100%;
}
.nav-item-bold {
color: #FFFFFF;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
font-weight: 700;
padding: 15px 25px;
margin: 0 5px;
position: relative;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 0.1em;
overflow: hidden;
}
.nav-item-bold::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
}
.nav-item-bold:hover {
color: #39FF14;
transform: scale(1.1);
}
.nav-item-bold:hover::before {
left: 100%;
}
.nav-item-bold.active {
color: #39FF14;
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
}
.logo-bold {
font-size: 32px;
font-weight: 900;
background: linear-gradient(45deg, #39FF14, #FFFFFF);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-decoration: none;
margin-right: auto;
text-transform: uppercase;
letter-spacing: 0.15em;
animation: logoGlow 2s ease-in-out infinite alternate;
}
@keyframes logoGlow {
0% { text-shadow: 0 0 20px rgba(57, 255, 20, 0.5); }
100% { text-shadow: 0 0 30px rgba(57, 255, 20, 0.8); }
}
.mobile-nav-bold {
position: fixed;
top: 0;
left: -100%;
width: 100%;
height: 100vh;
background: linear-gradient(135deg, #FF1493, #4B0082);
transition: left 0.4s ease;
z-index: 1000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 40px;
}
.mobile-nav-bold.active {
left: 0;
}
.mobile-nav-item {
color: #FFFFFF;
text-decoration: none;
font-size: 32px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.2em;
transition: all 0.3s ease;
position: relative;
}
.mobile-nav-item:hover {
color: #39FF14;
transform: scale(1.2);
text-shadow: 0 0 20px rgba(57, 255, 20, 0.8);
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 10px;
}
.nav-toggle-line {
width: 30px;
height: 4px;
background: #FFFFFF;
border-radius: 2px;
transition: all 0.3s ease;
}
.nav-toggle.active .nav-toggle-line:nth-child(1) {
transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle.active .nav-toggle-line:nth-child(2) {
opacity: 0;
}
.nav-toggle.active .nav-toggle-line:nth-child(3) {
transform: rotate(-45deg) translate(8px, -8px);
}
@media (max-width: 768px) {
.nav-bold {
display: none;
}
.nav-toggle {
display: flex;
}
}
充满活力的动画系统
.bold-transition {
transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.elastic-hover {
transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.elastic-hover:hover {
transform: scale(1.1) rotate(5deg);
}
.bounce-in {
animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@keyframes bounceIn {
0% {
opacity: 0;
transform: scale(0.3) rotate(-10deg);
}
50% {
opacity: 1;
transform: scale(1.1) rotate(5deg);
}
100% {
opacity: 1;
transform: scale(1) rotate(0deg);
}
}
.slide-explosion {
animation: slideExplosion 1s ease-out;
}
@keyframes slideExplosion {
0% {
transform: translateX(-100px) scale(0.8);
opacity: 0;
}
60% {
transform: translateX(20px) scale(1.1);
opacity: 1;
}
100% {
transform: translateX(0) scale(1);
opacity: 1;
}
}
.rainbow-shift {
background: linear-gradient(45deg, #FF1493, #00BFFF, #39FF14, #FF4500);
background-size: 400% 400%;
animation: rainbowShift 3s ease-in-out infinite;
}
@keyframes rainbowShift {
0%, 100% { background-position: 0% 50%; }
25% { background-position: 100% 50%; }
50% { background-position: 100% 100%; }
75% { background-position: 0% 100%; }
}
.zoom-pulse {
animation: zoomPulse 2s ease-in-out infinite;
}
@keyframes zoomPulse {
0%, 100% {
transform: scale(1);
filter: brightness(1);
}
50% {
transform: scale(1.05);
filter: brightness(1.2);
}
}
.glitch-effect {
position: relative;
}
.glitch-effect::before,
.glitch-effect::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
}
.glitch-effect::before {
animation: glitch1 2s infinite;
color: #FF1493;
z-index: -1;
}
.glitch-effect::after {
animation: glitch2 2s infinite;
color: #00BFFF;
z-index: -2;
}
@keyframes glitch1 {
0%, 100% { transform: translate(0); }
20% { transform: translate(-2px, 2px); }
40% { transform: translate(-2px, -2px); }
60% { transform: translate(2px, 2px); }
80% { transform: translate(2px, -2px); }
}
@keyframes glitch2 {
0%, 100% { transform: translate(0); }
20% { transform: translate(2px, -2px); }
40% { transform: translate(2px, 2px); }
60% { transform: translate(-2px, -2px); }
80% { transform: translate(-2px, 2px); }
}
保持视觉冲击的响应式原则
/* 移动端优化 */
@media (max-width: 767px) {
.page-bold {
grid-template-columns: 1fr;
grid-template-areas:
"header"
"main"
"sidebar"
"aside"
"footer";
grid-template-rows: 80px auto auto auto 60px;
gap: 15px;
padding: 15px;
}
.title-bold {
font-size: 36px;
margin-bottom: 16px;
}
.subtitle-bold {
font-size: 24px;
margin-bottom: 12px;
}
.card-bold {
padding: 20px;
border-radius: 15px;
margin-bottom: 20px;
}
.experimental-grid {
grid-template-columns: 1fr;
grid-template-rows: repeat(5, 120px);
gap: 15px;
}
.experimental-grid > * {
grid-column: 1;
grid-row: auto;
transform: none !important;
}
.btn-bold-primary {
padding: 14px 28px;
font-size: 14px;
}
}
/* 平板端适配 */
@media (min-width: 768px) and (max-width: 1024px) {
.page-bold {
grid-template-columns: 1fr 2fr;
grid-template-areas:
"header header"
"sidebar main"
"aside main"
"footer footer";
grid-template-rows: 80px 1fr auto 60px;
}
.experimental-grid {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(3, 120px);
}
.title-bold {
font-size: 48px;
}
.subtitle-bold {
font-size: 28px;
}
}
/* 大屏优化 */
@media (min-width: 1200px) {
.page-bold {
grid-template-columns: 1fr 3fr 2fr 1fr;
padding: 30px;
gap: 30px;
}
.title-bold {
font-size: 80px;
}
.subtitle-bold {
font-size: 42px;
}
.experimental-grid {
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(4, 180px);
gap: 25px;
}
.card-bold {
padding: 40px;
border-radius: 30px;
}
}
保持冲击力的无障碍体验
.accessible-bold {
/* 确保足够的颜色对比度 */
color: #000000;
background: #FFFFFF;
}
.focus-bold:focus {
outline: 4px solid #FF1493;
outline-offset: 3px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}
.skip-link-bold {
position: absolute;
top: -50px;
left: 30px;
background: #FF1493;
color: #FFFFFF;
padding: 12px 20px;
text-decoration: none;
border-radius: 15px;
font-weight: 700;
transition: top 0.3s;
z-index: 1001;
}
.skip-link-bold:focus {
top: 30px;
}
.sr-only-bold {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* 高对比度模式支持 */
@media (prefers-contrast: high) {
.card-bold {
border: 4px solid #000000;
background: #FFFFFF;
}
.btn-bold-primary {
border: 3px solid #000000;
background: #FF1493;
color: #FFFFFF;
}
.nav-item-bold {
color: #FFFFFF;
text-shadow: 2px 2px 4px #000000;
}
}
/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.glitch-effect::before,
.glitch-effect::after {
display: none;
}
}
现代设计哲学引用:
"Design is not just what it looks like and feels like. Design is how it works."
— Steve Jobs,苹果公司创始人
"Simplicity is the ultimate sophistication."
— Leonardo da Vinci,文艺复兴大师
设计创新精神:
突破边界,创造无限可能
在大胆中寻找平衡,在冲击中保持优雅