An interactive QBasic Gorillas artillery clone built with HTML5 Canvas, SVG windmill, and physics simulation.

Artillery Gorilla Canvas Retro Game

Artillery Gorilla Canvas Retro Game is a plain JavaScript clone of the MS-DOS classic, QBasic Gorillas. Two gorillas on city rooftops take turns throwing explosive bananas, with calculations factoring in gravity, adjustable angles, and wind speed shown via an animated SVG windmill. It features single-player AI simulation, local two-player, dark/light modes, and destructible building hitboxes.

Technologies:
HTML CSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 76+ Edge Edge 79+ Firefox Firefox 67+ Safari Safari 16.4+
Features:
Canvas Game Physics Simulation AI Computer Mode
License: MIT
A JavaScript class that dynamically updates a CSS box-shadow based on mouse cursor position to create a direction-aware lighting effect.

Direction-Aware CSS Box Shadow

Direction-Aware CSS Box Shadow provides a reusable JavaScript class (DirectionAwareShadow) that calculates the mouse’s offsetX and offsetY relative to an element’s center. It then dynamically updates the element’s inline box-shadow property to cast a shadow in the opposite (or same) direction of the cursor. The class is highly configurable, allowing developers to easily adjust blur, spread, color, and offset intensity.

Technologies:
HTML CSS/SCSS JavaScript/Babel
Difficulty: Intermediate
Browser Support (as of Jun 2026):
Chrome Chrome 4+ Edge Edge 12+ Firefox Firefox 4+ Safari Safari 3.1+
Features:
Direction Aware Dynamic Shadow Reusable Class
Code by: Mert Cukuren Mert Cukuren
License: MIT
A realistic tear strip animation using CSS Scroll-Driven Animations and a range input to simulate tearing open a package.

Interactive CSS Tear Strip Animation

Interactive CSS Tear Strip Animation simulates the satisfying physical action of tearing open a cardboard package. It cleverly uses an invisible <input type="range"> linked to the CSS Scroll-Driven Animations API (animation-timeline: --thumb). As the user drags the slider, CSS variables dynamically update clip-path, box-shadow, and transform properties to reveal the content beneath while curling the torn strip. A JavaScript fallback ensures compatibility for browsers without native scroll-timeline support.

Technologies:
HTML CSS JavaScript/Babel
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 115+ Edge Edge 115+ Firefox Firefox 110+ Safari Safari 16.4+
Features:
Scroll-Driven Animation Range Input Control Realistic Shadows
Code by: Jhey Jhey
License: MIT
A smartwatch UI concept where the time and date are displayed as a live-updating, syntax-highlighted JavaScript object.

JavaScript Object Smartwatch Concept

JavaScript Object Smartwatch Concept turns a standard digital clock into a clever developer joke. The UI mimics an Apple Watch using pure CSS (box-shadow for the bezel, linear-gradient for the strap). Inside, JavaScript’s requestAnimationFrame continuously updates a formatted string, rendering the current time and date as a syntax-highlighted JS object. A fun, lightweight snippet for developer portfolios.

Technologies:
HTML CSS JavaScript
Difficulty: Beginner
Browser Support (as of Jun 2026):
Chrome Chrome 4+ Edge Edge 12+ Firefox Firefox 2+ Safari Safari 3.1+
Features:
Live Clock Syntax Highlighting CSS Watch Strap
Code by: Mark Boots Mark Boots
License: MIT
Morphing dropdown navigation menu with dynamic background resizing and sliding animations using JavaScript.

Morphing Stripe-Style Dropdown Navigation

“Morphing Stripe-Style Dropdown Navigation” replicates the famous Stripe header effect. A single background element dynamically resizes and moves behind the active content. JavaScript calculates dimensions using getBoundingClientRect() and updates CSS properties to animate the panel. This approach keeps the DOM clean and ensures smooth transitions between menu sections.

Technologies:
HTML CSS/SCSS JavaScript/Babel
Difficulty: Intermediate
Browser Support (as of Jun 2026):
Chrome Chrome 48+ Edge Edge 15+ Firefox Firefox 48+ Safari Safari 10+
Features:
Morphing Background Dynamic Resizing Hover Triggered
Code by: Andy Andy
License: MIT
An interactive flight path progress range slider using pure CSS trigonometric functions, custom input styling, and container queries.

Pure CSS Trigonometric Flight Range Slider

Pure CSS Trigonometric Flight Range Slider uses CSS math functions like sin() and clamp() to dynamically scale a custom airplane thumb and cast realistic altitude shadows based on the input’s current percentage. It features a responsive container query that swaps the plane for a helicopter on narrow screens, and includes dedicated high-contrast mode styles for robust accessibility.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 111+ Edge Edge 111+ Firefox Firefox 110+ Safari Safari 16+
Features:
Trigonometric Math Container Queries High Contrast Mode
License: MIT
A skeuomorphic 3D rolling ball toggle switch with automatic rollback animation using CSS and JavaScript.

Rollback Ball 3D Toggle Switch

Rollback Ball 3D Toggle Switch is a highly tactile, skeuomorphic switch concept. When clicked, a textured 3D ball realistically rolls across the track, cast-shadows shifting in unison. An ES6 JavaScript class dynamically reads the CSS animation duration, disables the input during the roll, and automatically resets the toggle state once the animation completes. A stellar example of interactive micro-design.

Technologies:
HTML CSS/SCSS JavaScript/TypeScript
Difficulty: Intermediate
Browser Support (as of Jun 2026):
Chrome Chrome 55+ Edge Edge 79+ Firefox Firefox 54+ Safari Safari 10+
Features:
3D Rolling Ball Automatic Rollback Skeuomorphic Shadows
Code by: Jon Kantner Jon Kantner
License: MIT
A viewport border frame that dynamically crawls and draws around the screen edges as you scroll down the page, built with pure CSS.

Scroll-Driven Crawling Border Frame

Scroll-Driven Crawling Border Frame draws a colorful frame around the viewport as the user scrolls. Utilizing native CSS Scroll-Driven Animations (animation-timeline: scroll()) and sequence keyframes, the borders of two fixed elements expand in height and width. The styling utilizes modern oklch() color math for a vibrant gradient. Clean, pure CSS decoration with no JS overhead.

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Jun 2026):
Chrome Chrome 119+ Edge Edge 119+ Firefox Firefox (with polyfill) Safari Safari (with polyfill)
Features:
Scroll-Driven Timeline Zero JavaScript OKLCH Color Space
Code by: Giana Giana
License: MIT
A retro television illustration created entirely with a single HTML div and complex CSS gradients.

Single Div Vintage TV CSS Illustration

Single Div Vintage TV CSS Illustration is a masterclass in CSS gradient art. Using only one div and its ::before/::after pseudo-elements, it renders a retro television set. The body, screen, antenna, and speaker grill are meticulously drawn using layered linear-gradient, radial-gradient, and repeating-linear-gradient. The mask-image property is cleverly used to carve out the control knobs. A brilliant example of pushing CSS drawing to its limits.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 53+ Edge Edge 79+ Firefox Firefox 53+ Safari Safari 15.4+
Features:
Single Div Pure CSS Gradient Art
License: MIT
A VisionOS-inspired hexagonal app grid featuring a dynamic ripple animation effect triggered by user clicks, built with CSS and JavaScript.

VisionOS Hexagonal App Grid Ripple

VisionOS Hexagonal App Grid Ripple recreates the spatial UI aesthetic of Apple VisionOS. It uses complex clip-path polygons to form the hexagons and backdrop-filter for the glassmorphism effect. The standout feature is the JavaScript-calculated ripple animation: on click, JS measures the distance from the target to every other hexagon, updating a CSS custom property (--ripple-factor) to stagger the CSS @keyframes delay radially.

Technologies:
HTML/Pug CSS/SCSS JavaScript
Difficulty: Advanced
Browser Support (as of Jun 2026):
Chrome Chrome 111+ Edge Edge 111+ Firefox Firefox 113+ Safari Safari 16.2+
Features:
Hexagonal Grid Ripple Animation Theme Toggle
License: MIT