Layout
.flex-container {
display: flex;
justify-content: space-between;
align-items: center;
}
Layout
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
Component
.card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
Component
.btn-primary {
background: linear-gradient(135deg, #6366f1, #8b5cf6);
padding: 12px 24px;
}
Navigation
.navbar {
position: sticky;
top: 0;
backdrop-filter: blur(10px);
}
Form
.input-field {
border: 2px solid #e5e7eb;
border-radius: 8px;
padding: 12px 16px;
}
Effects
.animated {
animation: fadeIn 0.5s ease-out;
transition: transform 0.3s ease;
}
Modern
.glass-card {
background: rgba(255,255,255,0.2);
backdrop-filter: blur(20px);
}
Responsive
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
Text
.heading {
font-size: 2.5rem;
font-weight: 700;
line-height: 1.2;
}
Effects
.shadow-element {
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1),
0 2px 4px -1px rgba(0,0,0,0.06);
}
Interactive
.hover-card {
transition: all 0.3s ease;
}
.hover-card:hover {
transform: translateY(-8px);
}