Holographic Stats Card

0 viewsadvanced
Background:
Holographic Stats Card
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<div class="holographic-stats">
  <!-- Holographic Background -->
  <div class="holographic-shimmer"></div>
  <div class="rainbow-border"></div>

  <!-- Main Card -->
  <div class="stats-card">
    <!-- Prismatic Overlay -->
    <div class="prismatic-overlay"></div>
    
    <!-- Floating Hologram Lines -->
    <div class="hologram-lines">
      <div class="holo-line holo-line-1"></div>
      <div class="holo-line holo-line-2"></div>
      <div class="holo-line holo-line-3"></div>
    </div>
    
    <!-- Content -->
    <div class="stats-content">
      <!-- Header -->
      <div class="stats-header">
        <div class="header-info">
          <h3 class="stats-title">Analytics</h3>
          <p class="stats-subtitle">Real-time insights</p>
        </div>
        <div class="stats-icon">
          <div class="icon-inner"></div>
        </div>
      </div>
      
      <!-- Main Stats Grid -->
      <div class="stats-grid">
        <!-- Revenue -->
        <div class="stat-card stat-revenue">
          <div class="stat-indicator">
            <div class="stat-dot stat-dot-blue"></div>
            <span class="stat-label">Revenue</span>
          </div>
          <div class="stat-value">$24.8K</div>
          <div class="stat-change">+12.5% this month</div>
        </div>
        
        <!-- Users -->
        <div class="stat-card stat-users">
          <div class="stat-indicator">
            <div class="stat-dot stat-dot-purple"></div>
            <span class="stat-label">Users</span>
          </div>
          <div class="stat-value">1,847</div>
          <div class="stat-change">+8.2% active now</div>
        </div>
        
        <!-- Growth -->
        <div class="stat-card stat-growth">
          <div class="stat-indicator">
            <div class="stat-dot stat-dot-pink"></div>
            <span class="stat-label">Growth</span>
          </div>
          <div class="stat-value">847%</div>
          <div class="stat-change">YoY expansion</div>
        </div>
        
        <!-- Performance -->
        <div class="stat-card stat-performance">
          <div class="stat-indicator">
            <div class="stat-dot stat-dot-emerald"></div>
            <span class="stat-label">Performance</span>
          </div>
          <div class="stat-value">99.9%</div>
          <div class="stat-change">Uptime score</div>
        </div>
      </div>
    </div>

    <!-- Holographic Particles -->
    <div class="holographic-particles">
      <div class="holo-particle particle-1"></div>
      <div class="holo-particle particle-2"></div>
      <div class="holo-particle particle-3"></div>
      <div class="holo-particle particle-4"></div>
    </div>
  </div>
</div>
Was this helpful?

What is inside Holographic Stats Card

Holographic Stats Card is a CSS card built with a keyframe animation, gradient fills, a blurred backdrop, defined in 330 lines across 68 selectors.

43
CSS properties
68
Selectors
330
Lines of CSS
3
Formats

Techniques used

Keyframe animationTransitionsTransformsGradientsFiltersBackdrop blurHover stateCSS gridFlexbox

Animations defined: hologram-shifthologram-pulserainbow-pulsepulseping

CSS properties in this component

-webkit-background-clipalign-itemsanimationanimation-delayanimation-durationbackdrop-filterbackgroundbackground-clipbackground-positionbackground-sizeborderborder-colorborder-radiusbottomcolorcursordisplayfilterflexflex-directionfont-sizefont-weightgapgrid-template-columnsheightinsetjustify-contentleftletter-spacingmarginmargin-bottomopacityoverflowpaddingpositionrighttext-transformtoptransformtransitionuser-selectwidthz-index

Accessibility check3 to fix

  • Built from generic elements. Add a role and a tabindex, or swap in a native control, before using it as an interactive component.
  • No focus style is defined. Add one before shipping, or keyboard users lose track of position.
  • Animates without a prefers-reduced-motion guard. Wrap the animation in that query if motion sensitivity matters to your audience.

Browser support notes

  • Backdrop filter needs a -webkit- prefix on older Safari.

These notes are generated by reading this component's own source, so they describe what it actually does rather than what a template says. Copy the code above in HTML, CSS, Tailwind and adapt it freely.

About Holographic Stats Card

Holographic Stats Card is a card built with a keyframe animation, gradient fills, transforms, a blurred backdrop and CSS filters. Its stylesheet runs to 330 lines across 68 rules, declaring 43 distinct properties. It styles hover state explicitly, so the component responds to interaction rather than sitting still. The animation is driven by keyframe sequences named hologram-shift, hologram-pulse, rainbow-pulse, pulse and ping, which you can retime or remove without touching the rest of the styling. Every format shown on this page is the same component, so you can take HTML, CSS and Tailwind depending on how your project is set up. Nothing is minified and nothing depends on a framework.

When to use

How it works

The base rule sets the shape with border-radius, display, height and margin. The fill is a gradient rather than a flat colour, so it is a single background declaration with no image to load. Movement is done with transforms rather than by changing position or size, which is what keeps it smooth: transforms are composited and do not force the browser to lay the page out again. State changes are eased with a transition, so hovering does not snap. The looping motion comes from hologram-shift, hologram-pulse, rainbow-pulse, pulse and ping. Changing the animation-duration is usually the only edit needed to make it faster or calmer. The backdrop filter blurs whatever sits behind the element, which means the effect depends on the page underneath rather than on the component alone.

Accessibility

Keyboard navigation
Limited
Screen reader
Limited
ARIA
Needs a role and a label to be announced correctly

Built from generic elements. Add a role and a tabindex, or swap in a native control, before using it as an interactive component. No focus style is defined. Add one before shipping, or keyboard users lose track of position. Animates without a prefers-reduced-motion guard. Wrap the animation in that query if motion sensitivity matters to your audience. Those are 3 things to fix before this ships in front of users.

Browser support

Chrome
76+
Firefox
103+
Safari
10+
Edge
79+

Backdrop filter needs a -webkit- prefix on older Safari.

Frequently asked questions