Modern Shadow Effects
Box and text shadows from neumorphism and glass to neon, fire and retro lettering.
1Glassmorphism
A frosted translucent panel with an inner highlight and soft drop shadow for overlays on images or gradients. Class: fx-glassmorphism
Balance
$9,443.95
Finn VargaDec 2, 2026
<div class="d-flex flex-wrap align-items-center justify-content-center gap-3 p-3 h-100 rounded-4" style="min-height:200px;background:radial-gradient(circle at 20% 25%, var(--wt-accent) 0 18%, transparent 19%),radial-gradient(circle at 82% 75%, var(--wt-secondary) 0 22%, transparent 23%),linear-gradient(135deg, var(--wt-primary), var(--wt-secondary))">
<div class="fx-glassmorphism rounded-4 p-3" style="width:14rem">
<div class="small opacity-75">
Balance
</div>
<div class="fs-4 fw-bold mb-2">
$9,443.95
</div>
<div class="d-flex justify-content-between small">
<span>Finn Varga</span><span>Dec 2, 2026</span>
</div>
</div>
</div>
/* CSS (already in assets/css/effects.css) */
.fx-glassmorphism {
color: #fff;
background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
border: 1px solid rgba(255, 255, 255, .3);
-webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
box-shadow: 0 10px 30px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .45);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.fx-glassmorphism { background: rgba(var(--wt-primary-rgb), .85); }
}
@media (prefers-reduced-motion: reduce) {
.fx-glassmorphism, .fx-glassmorphism::before, .fx-glassmorphism::after, .fx-glassmorphism *, .fx-glassmorphism *::before, .fx-glassmorphism *::after { animation: none !important; transition: none !important; }
}2Fire Text
Flickering flame-coloured shadows rise from the letters of a heading. Class: fx-fire-text
BLAZE
<div class="d-flex flex-wrap align-items-center justify-content-center gap-3 p-3 h-100" style="min-height:200px">
<div class="bg-dark rounded-4 px-4 pt-5 pb-4 text-center w-100" style="max-width:19rem">
<h2 class="display-5 fw-bold mb-0 fx-fire-text">BLAZE</h2>
</div>
</div>
/* CSS (already in assets/css/effects.css) */
.fx-fire-text {
color: #fff4d6;
text-shadow: 0 0 4px #fff3c4, 0 -4px 6px #ffd23f, 0 -10px 14px #ff9f1c, 0 -18px 24px #ff5a1f, 0 -26px 36px #c81d25;
animation: fx-fire-text-burn 1.2s ease-in-out infinite alternate;
}
@keyframes fx-fire-text-burn {
to { text-shadow: 0 0 4px #fff3c4, 2px -6px 8px #ffd23f, -2px -12px 16px #ff9f1c, 2px -20px 26px #ff5a1f, -2px -30px 40px #c81d25; }
}
@media (prefers-reduced-motion: reduce) {
.fx-fire-text, .fx-fire-text::before, .fx-fire-text::after, .fx-fire-text *, .fx-fire-text *::before, .fx-fire-text *::after { animation: none !important; transition: none !important; }
}