StealThis .dev
Pages Medium

Game — Character Detail (stats · lore · abilities)

A dark, neon-lit single-character detail page for a fictional action game: hero banner with CSS-built splash art, faction and rarity badges, animated HP/ATK/DEF/SPD/CRIT stat bars with count-up values, an expandable abilities list with icons and cooldowns, a lore section with read-more, a skins selector that retints the whole page accent theme, synergy picks, and an add-to-team CTA with toast feedback — all in Orbitron-styled HUD chrome with clipped corners and glow states.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Character Detail (stats · lore · abilities)

A full character detail page for “Ashen Vanguard”, a legendary frontliner from the fictional game Hollow Reign by studio Nullforge. The hero banner pairs pure-CSS splash art (a drifting conic glow, an angled clip-path figure, and a faint HUD grid) with the character’s name, title, faction badge, five-star rarity row, role chips, and a glowing Power rating block. Two angled-corner CTAs — “Add to Team” and “Wishlist” — anchor the banner, each with toast feedback.

The body splits into a main column and a sidebar. Combat stats render as clipped bars that animate to their fill percentage while the numeric values count up the first time the panel scrolls into view. Abilities render as expandable rows with glyph icons, cooldown readouts, and detail regions containing damage numbers and meta pills, driven by aria-expanded and a measured max-height transition. The lore panel hides its extra paragraphs behind a read-more toggle.

The sidebar holds a skins selector built as an ARIA tablist: choosing a variant updates the --skin and --skin-rgb custom properties at the document root, retinting the accent, glow, splash art, badges, bars, and buttons across the entire page in one move (arrow keys move between swatches). A small toast() helper surfaces every action, all controls are keyboard-usable with visible focus rings, and the layout collapses to a single column and holds together down to roughly 360px wide.

Illustrative UI only — fictional games, studios, characters, and data. Not engine integrations.