bismillahcss
Version:
The next-gen utility-first CSS framework for modern, futuristic web development.
159 lines (139 loc) • 4 kB
CSS
/**
* BismillahCSS Design Gallery
* A collection of unique, futuristic design languages.
*/
/* 1. Glassmorphism - Frosted Glass Effect */
.b-glass {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
border-radius: 16px;
}
.b-glass-dark {
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.05);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}
/* 2. Neumorphism - Soft UI */
.b-neumorphic {
background: #e0e0e0;
box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
border-radius: 30px;
border: none;
}
.b-neumorphic-inset {
background: #e0e0e0;
box-shadow: inset 20px 20px 60px #bebebe, inset -20px -20px 60px #ffffff;
border-radius: 30px;
}
/* 3. Skeuomorphism - Real World Imitation */
.b-skeuo {
background: linear-gradient(145deg, #f0f0f0, #cacaca);
box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.8),
inset -2px -2px 5px rgba(0, 0, 0, 0.2),
5px 5px 15px rgba(0, 0, 0, 0.1);
border: 1px solid #d1d1d1;
border-radius: 12px;
}
/* 4. Flat Design - Minimalist */
.b-flat {
background: #3498db;
color: white;
border: none;
box-shadow: none;
border-radius: 0;
transition: opacity 0.2s;
}
.b-flat:hover {
opacity: 0.9;
}
/* 5. Material Design - Surface & Depth */
.b-material {
background: white;
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
transition: box-shadow 0.28s cubic-bezier(.4, 0, .2, 1);
border-radius: 4px;
}
.b-material:hover {
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
}
/* 6. Brutalism - Raw & Bold */
.b-brutalist {
background: #ffff00;
border: 4px solid #000;
box-shadow: 8px 8px 0px #000;
font-weight: 900;
text-transform: uppercase;
color: #000;
padding: 1rem 2rem;
transition: transform 0.1s;
}
.b-brutalist:active {
transform: translate(4px, 4px);
box-shadow: 4px 4px 0px #000;
}
/* 7. Dark Mode Sleek */
.b-dark-sleek {
background: #0f172a;
color: #f8fafc;
border: 1px solid #1e293b;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
/* 8. Neon Cyberpunk */
.b-cyber-neon {
background: transparent;
border: 2px solid #00f2ff;
color: #00f2ff;
text-shadow: 0 0 10px #00f2ff;
box-shadow: 0 0 15px rgba(0, 242, 255, 0.2), inset 0 0 10px rgba(0, 242, 255, 0.1);
font-family: 'JetBrains Mono', monospace;
position: relative;
overflow: hidden;
}
.b-cyber-neon::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.2), transparent);
transition: 0.5s;
}
.b-cyber-neon:hover::before {
left: 100%;
}
/* 9. Aurora UI - Liquid Gradients */
.b-aurora {
background: linear-gradient(270deg, #ff00cc, #3333ff, #00ffcc);
background-size: 600% 600%;
animation: aurora-sweep 10s ease infinite;
color: white;
border: none;
}
@keyframes aurora-sweep {
0% {
background-position: 0% 50%
}
50% {
background-position: 100% 50%
}
100% {
background-position: 0% 50%
}
}
/* 10. Claymorphism - Soft 3D */
.b-clay {
background: #6a5acd;
color: white;
border-radius: 40px;
box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.15),
inset -8px -8px 16px rgba(255, 255, 255, 0.1),
inset 8px 8px 16px rgba(0, 0, 0, 0.1);
padding: 2rem;
border: 4px solid rgba(255, 255, 255, 0.15);
}