StealThis .dev
页面 中等

Wiki — Fandom / Game Wiki Landing

An immersive Fandom-style landing page for the fictional Verdant Empire game universe, with a dramatic CSS-drawn parallax key-art hero, a big lore search bar that live-previews matching characters, factions, locations, and relics, an animated wiki-stats bar, featured-lore category panels with hover-glow, an auto-rotating featured-character spotlight, a trending-pages ranking, a self-updating recent-activity feed, and a Discord community band — built entirely in semantic HTML, CSS, and vanilla JavaScript.

在 Lab 中打开
html css vanilla-js
目标: JS HTML

代码

Fandom / Game Wiki Landing

A lore-immersive, Fandom-style home page for the fictional Verdant Empire game universe. The dark hero stacks several CSS-drawn parallax layers — a star-flecked sky, a distant moon, mountain ridges, ruined spires, and a glowing forest canopy — behind a gradient-clipped display title and a large search bar. A wiki-stats bar reports pages, edits, active editors, and a live “reading now” indicator, with each number counting up as it scrolls into view.

The search bar is the centerpiece: typing live-filters a small index of characters, factions, locations, relics, and events and previews up to six matches in an ARIA combobox dropdown, highlighting the typed query in each title. Arrow keys move the active option, Enter opens it, Esc closes, and pressing / anywhere focuses the field. Popular chips drop a term in and run the query. Below, four featured-lore panels hover-glow in their own accent colour, an auto-rotating “Featured of the Day” spotlight cross-fades between three characters (with prev/next, dots, and hover-to-pause), and a right rail pairs a trending-pages ranking with a recent-activity feed that pushes new edits on a ticker.

Everything is vanilla HTML, CSS, and JavaScript with no dependencies. The hero parallaxes to pointer movement, semantic landmarks and visible focus rings keep it keyboard-usable, motion respects prefers-reduced-motion, and the layout collapses gracefully to ~360px — the nav becomes a drawer, the rail stacks under the main column, and the spotlight reflows to a single column.

Illustrative UI only — fictional articles, products, and data.