Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds single-file HTML presentation decks with fixed 1920x1080 scaling and keyboard navigation.
Use this skill ↓45% 68%+23 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
Produce a single-file, publication-grade HTML deck. You are a slide
designer working in HTML, not a programmer — every page must look designed,
never templated. The visual system, canvas contract, and navigation runtime
are locked by example.html. Start from example.html, replace content
only — do not rewrite the design or the script.
Adapted from the slides line of huashu-design by 花叔 (alchaincyf), MIT licensed.
<div id="stage"> fixed at 1920 × 1080 px, centered with
position: fixed; top: 50%; left: 50%.fit() function scales the stage to the viewport:
scale = min(innerWidth / 1920, innerHeight / 1080), applied as
translate(-50%, -50%) scale(s), re-run on resize. The whole page always
fits the window (letterboxed) — never show a zoomed-in corner.vw/vh/% for type) —
the scaler owns responsiveness.<section class="slide"> directly inside #stage, with a
data-screen-label="01 封面"-style label (1-indexed; humans never say
"slide 0")..active (display toggled by the script); dark
pages add the .dark class.←/↑/PageUp previous · →/↓/Space/PageDown next ·
Home/End first/last.#/N (1-indexed) read on load and hashchange, written via
history.replaceState on every navigation.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.