Playground · 22 demos

CSS Split Screen Playground

Pick any demo to open it in a live, side-by-side editor. Tweak the HTML, CSS or JS and see your changes render instantly. Reset any time to return to the original.

Or browse the full CSS Split Screen collection for the gallery view with code panels.

01 Pure CSS
Editorial Restaurant
Editorial restaurant menu — cream paper, olive-green typography, burgundy accents. Classic 50/50 split with food photography on the left (CSS-painted plate) and the menu on the right. Serif headlines, dotted-leader pricing, the printed-menu aesthetic.
Open
02 Pure CSS
Diagonal Split
Sport magazine — pitch black with electric-orange diagonal cut and concrete-grey supporting tones. Headline punches through the diagonal seam. Pure CSS via <code>clip-path: polygon()</code> for the angled wedge; oversized condensed display type sells the impact.
Open
03 Pure CSS
Wine Cellar
Wine cellar boutique — deep burgundy with gold-leaf accents and cream label typography. Asymmetric 60/40 split: a single CSS-painted bottle on the left, vintage tasting notes on the right. Real <code>&lt;dl&gt;</code> for the vintage details.
Open
04 Pure CSS
Hover Reveal Split
K-pop concert poster — hot pink + electric cyan + chrome. Two halves; hover/tap each to grow it from 50% to 70%, the other shrinks. Pure CSS via <code>flex-grow</code> transition; massive condensed type and chromatic-aberration headlines complete the album-cover feel.
Open
05 Pure CSS
Coffee Triptych
Three coffee blends side-by-side — espresso brown, cream, copper. Three vertical panels in a single row, each with its own roast story. Hover any panel to reveal the tasting notes. CSS grid with <code>1fr 1fr 1fr</code> and a shared expand-on-hover behavior.
Open
06 Pure CSS
Curved Split
Surf brand — ocean teal meets sand beige with a wave-curved seam, sunset-coral CTA. Pure CSS curve via <code>border-radius</code> and a generous <code>clip-path</code>. The two halves never share a straight line — feels organic, beach-y, hand-shaped.
Open
07 Pure CSS
Asymmetric 70/30
Architecture portfolio — warm grey concrete + ivory + black accents. Asymmetric 70/30 split: a single hero project on the left, oversized index numbers on the right. Print-magazine spread vibe; thin hairlines do all the structuring.
Open
08 Pure CSS
Stepped Diagonal
Streetwear brand drop — mustard yellow + asphalt black + neon pink. Stepped diagonal cut between two halves, sticker-graphic typography, drop-countdown badge. The kind of split a sneaker brand uses to announce a Friday release.
Open
09 Pure CSS
Jewelry Sign-in
Jewelry boutique sign-in — champagne cream + obsidian black + rose gold. Brand on one side, sign-in form on the other. The kind of split-screen Tiffany would commission. Real <code>&lt;form&gt;</code> with proper labels and autocomplete tokens.
Open
10 Light JS
Before/After Slider
Skincare brand before/after — clinical white + millennial pink + sage green. Drag the native <code>&lt;input type="range"&gt;</code> to wipe between two states. Pure CSS via <code>:has()</code> on the input value (modern browsers); falls back to a clean static split otherwise.
Open
11 Pure CSS
Two Seasons
Two seasons of fashion — autumn (rust + ochre + olive) on one side, winter (steel + cobalt + ash) on the other. Click either label to slide the other half open. Pure CSS via radio inputs + sibling selectors; no JS.
Open
12 Pure CSS
Music App Toggle
Music app — deep purple + neon mint + black vinyl. Toggle between equal-split (album list) and focus-mode (now playing dominates). Hidden checkbox + <code>:has(:checked)</code> on the grid template; everything else is CSS.
Open
13 Pure CSS
Real-estate Compare
Compare two properties — terracotta + olive + warm beige. Two cards side by side, each with hero number, key stats, and price. Hover any side to scale up; the other dims subtly. CSS transform + opacity transitions.
Open
14 Pure CSS
Detective Novel
Detective novel cover — burnt orange + ink black + parchment cream. A diagonal mask wipes between the cover image and a synopsis on hover. Mystery noir aesthetic with serif type, thin gold rules, and a deliberately distressed paper texture.
Open
15 Pure CSS
Mediterranean Travel
Travel agency hero — Mediterranean blue + ochre + white limewash. Parallax-feel split with layered cliff/sea/sun shapes on one side and a destination card on the other. Pure CSS animations drift the sun and sea slowly.
Open
16 Pure CSS
Glitch Arcade
Cyber-arcade split — deep purple base with neon-green and magenta. Continuous glitch overlay shifts the colored layers in/out across the seam. Different from Tokyo Neon (sidebars): this is dystopian-arcade not tokyo-pop, dark green vs hot magenta.
Open
17 Pure CSS
Coffee Origin Story
Coffee origin story — kraft brown + cream + gold leaf. Two-column editorial: hero image map on the left, a numbered story of the bean's journey on the right. Real <code>&lt;ol&gt;</code> with custom counter styling.
Open
18 Pure CSS
Quad Photo Split
Photography portfolio quad split — charcoal frame with four photo accents (sage / clay / mustard / bone). Hover any tile to expand it; the others contract. CSS grid with <code>:has()</code> on the wrapper to drive the proportions.
Open
19 Pure CSS
Recipe Reveal
Recipe book — terracotta + sage + butter yellow. Two halves: a recipe header on top, ingredients/method below. On smaller viewports the layout stacks; the right half "reveals" the method. Real <code>&lt;ul&gt;</code> + <code>&lt;ol&gt;</code> for ingredients and steps.
Open
20 Pure CSS
Pet Adoption Z
Pet adoption — grass green + sky blue + sun yellow. Z-pattern: image left → text right → image right → text left, but expressed as a 2×2 grid that creates an interlocking flow. Friendly, optimistic, full of CSS-painted dog and cat illustrations.
Open
21 Pure CSS
Magazine Crossover
Editorial magazine spread — newspaper black on cream with a single spot color (cobalt blue). Oversized italic headline crosses the seam between two halves; pull-quote on the right intrudes into the left photo zone. The kind of layout you see on a New York Times Magazine longread.
Open
22 Pure CSS
3D Perspective Keynote
Tech keynote — deep navy + holographic gradient + chrome. Two halves tilted in 3D space via <code>perspective</code> + <code>rotateY</code>; left panel angles toward viewer, right panel angles away. The "Apple event slide" feel — premium, sleek, almost cinematic.
Open

Search CodeFronts

Loading…