Knowledge. Unfiltered.

THE
BLOG

Ideas, breakdowns, and real talk - from the world of business and code. Written by the Aduok team, for people who want to keep learning.

38+Articles
2Channels
Latest PostsShowing 38 of 38
CODE
Code

A 3D Glass Card, Built from a Perspective Tilt, a Frosted Panel, and Five Staggered Orbit Rings

Step-by-step breakdown of a hover-driven 3D card — a perspective wrapper that tilts the whole surface on rotate3d, a frosted glass panel raised above it on the z-axis, five orbiting rings that each pop forward at a different depth and delay, and a footer row of actions that lifts free of the surface only while the card is tilted.

CODE
Code

A Split-Flap Clock, Built from Paired 3D Leaves, a Midpoint Content Swap, and One Tick Loop

Step-by-step breakdown of a live split-flap clock — six digit units built from stacked half-cards and a rotating 3D leaf, a front/back-face flip that reveals the next number exactly halfway through, a setTimeout-driven midpoint swap that keeps the bottom half in sync, and a single tick() function that drives the whole board every second.

CODE
Code

A Circular Gallery, Built from CSS offset-path, Anchor Positioning, and a Sibling-Distance Hover Chain

Step-by-step breakdown of a rotating circular gallery — cards placed on a circle with offset-path, an enlarged center view driven purely by CSS anchor positioning and :target, a hover chain that nudges neighboring cards using :has() distance selectors, and a rotation slider tied to a single CSS custom property.

CODE
Code

A Liquid Glass Button, Built from a 1D Shallow-Water Solver, a Frosted Pane, and Mass-Conserving Flow

Step-by-step breakdown of a water-filled glass button — a lane-based shallow-water simulation that sloshes instead of bobbing, droplets that tear off the surface and land back in the fluid, a sleep/wake cycle so the canvas goes idle when nothing is moving, and a frosted CSS glass pane wrapped around a single-color canvas fill.

CODE
Code

A Photo Card Deck, Built from One CSS Variable Per Card, a GSAP Stagger, and a Pointer-Driven Tilt

Step-by-step breakdown of a scroll-free image drop-in deck — per-card position and depth read from CSS custom properties instead of hand-written classes, a center-out entrance stagger, an idle float loop that never syncs up, cursor parallax across the whole deck, and a real per-card 3D tilt on hover, all wrapped in role-correct, reduced-motion-safe markup.

CODE
Code

A Day/Night Toggle, Built from One data-mode Attribute, Two Crossfaded Faces, and a Real Switch

Step-by-step breakdown of a CSS-only day/night toggle — a single data-mode attribute driving every visual change at once, a sun and moon crossfading in place instead of swapping images, JS-generated stars instead of hand-written divs, and an actual role="switch" button instead of a clickable div.

CODE
Code

Squishy Pop Buttons, Built from One Hard Shadow, One Keyframe, and Staggered Delays

Step-by-step breakdown of a CSS-only "pop button" list — a solid offset box-shadow standing in for a cartoon outline, a staggered translateY entrance driven purely by nth-child delays, and a hover squish that fakes squash-and-stretch with a single two-step keyframe.

CODE
Code

A Washing Machine Loading Spinner, Built Entirely from Layered Gradients and Two Keyframes

Step-by-step breakdown of a CSS-only washing machine loader — a body panel drawn from three stacked background-images, two control knobs faked with radial gradients, a duplicated foot faked with a single box-shadow, and a spinning porthole whose diagonal glass reflection and slow-to-fast wash cycle come from one gradient and one keyframe animation.

CODE
Code

A Realistic Water Ripple Field, Built with JS-Generated Ovals, Container Query Units, and a Staggered Wobble

Step-by-step guide to building an animated field of water ripples — concentric ovals generated with JavaScript instead of a Sass loop, sized in container query units so they scale with the viewport, staggered into rolling groups with a single delay formula, and finished with a light-blue palette and a floating control deck for blur, ripple count, and speed.

CODE
Code

A CSS-Only Beach Scene, Built with Border-Radius Ovals, Scoped Opacity Fades, and Border-Trick Foliage

Step-by-step guide to building a side-view animated beach in pure CSS — a sky-to-sun gradient, a rolling sea made from stretched ovals instead of any curve syntax, a foam layer that fades in and out on its own clock, a wet-sand tide mark that darkens on the swell, and a palm tree built entirely from border tricks.

CODE
Code

A WebGL Spiral Gallery That Loops Forever, Built with a Texture Atlas and Scroll Physics

Step-by-step guide to building an image gallery that winds up a helix and scrolls without end — a canvas atlas packing every photo into one texture, a plane bent into a spiral by its own vertex positions, a fragment shader that wraps its UV coordinate to fake infinity, and a small physics rig turning wheel, drag, and touch input into one smooth offset.

CODE
Code

A WebGL Ghost That Follows Your Cursor, Built with a Fragment Shader and Spring Physics

Step-by-step guide to building a translucent, face-reacting "ghost" that trails the pointer around the page — a chain of spring-physics dots rasterized into a canvas texture, sampled by a GLSL fragment shader that carves a procedural face out of noise, with a dependency-free control panel for tuning it live.

CODE
Code

A Scroll-Triggered Bento Gallery That Zooms to Fullscreen with GSAP Flip

Step-by-step guide to building a bento-style image grid that starts as a compact collage and smoothly zooms into a fullscreen stacked layout as the user scrolls — driven entirely by GSAP's Flip plugin capturing two CSS grid states and ScrollTrigger scrubbing between them, with resize handling and reduced-motion support built in.

CODE
Code

A Draggable, Peeking Product Carousel with Vanilla JS

Step-by-step guide to building a physics-driven product carousel where neighboring cards peek in from the edges of the screen, dragging follows the pointer in real time, releasing snaps with velocity-aware speed, and a data-driven rail tracks a real attribute of whichever card is centered — no carousel library, just a handful of small functions.

CODE
Code

Wind-Scatter Scroll Text with GSAP & the Range API

Step-by-step guide to building a scroll-scrubbed text effect where a heading scatters into individual letters blown apart by a directional wind — per-character measurement via the Range API, a de-trended sine gust, four stagger-ordering modes, and a resize-safe ScrollTrigger setup — zero images, zero canvas, just GSAP and vanilla JS.

CODE
Code

Sand Text Animation with Canvas & Vanilla JS

Step-by-step guide to building a looping sand text effect with the Canvas 2D API — a five-phase state machine, an offscreen-canvas word sampler, gravity-driven falling grains, a sand-slide pile relaxation pass, and an eased flight-back reform — zero frameworks, zero build tools.

CODE
Code

Parallax Portrait Gallery with Three.js & Vanilla JS

Step-by-step guide to building a multi-layer parallax scrolling portrait gallery using Three.js sprites, an OrthographicCamera, CSS drag and wheel events, and a class-based architecture — zero frameworks, zero build tools.

10 minRead ↗
CODE
Code

FIFA Bouncing Ball Title Animation with Pure HTML & CSS

Step-by-step guide to building the FIFA bouncing ball wordmark animation using only CSS custom properties, independent rotate and translate properties, a synced scaleY squish on the letter I, and Noto Emoji for a crisp cross-platform soccer ball — zero JavaScript, zero dependencies.

CODE
Code

Interactive Wallet UI with Pure HTML & CSS

Step-by-step guide to building an animated wallet card UI using only CSS custom properties, BEM class naming, SVG pocket shapes, scaleY card fan animations, and sibling-combinator balance reveal — zero dependencies, zero frameworks.

10 minRead ↗
CODE
Code

SVG Hover Lines Effect with Pure HTML & CSS

Step-by-step guide to building an animated SVG vertical-lines hover effect using only CSS custom properties, nth-child transition delays, scaleY transforms, and a JavaScript line generator — zero dependencies, zero frameworks.

CODE
Code

Realistic 3D Cube Loader with Pure HTML & CSS

Step-by-step guide to building a spinning, light-blue 3D cube loader using only CSS custom properties, preserve-3d transforms, conic-gradient face gradients, perspective rotation animations, and a glowing drop shadow pseudo-element — zero JavaScript, zero dependencies.

10 minRead ↗
CODE
Code

Scroll Reveal Grid with Pure HTML, CSS & Vanilla JS

Step-by-step guide to building a scroll-driven photo grid where a hero image shrinks from full-viewport to its natural cell size as surrounding image rings scale and fade in — using a sticky canvas, CSS subgrid, a custom cubic-bezier solver, and a plain scroll event listener. Zero libraries, zero dependencies.

14 minRead ↗
CODE
Code

Realistic Glass Button with Pure HTML & CSS

Step-by-step guide to building a tactile, physics-informed glass button using only CSS custom properties, conic-gradient borders, layered box-shadows, backdrop-filter blur, and a perspective tilt on press — zero JavaScript, zero dependencies.

12 minRead ↗
CODE
Code

Realistic Rocker Switch with Pure HTML & CSS — RockerToggle

Step-by-step guide to building a tactile, physics-informed rocker switch using only CSS custom properties, perspective transforms, layered box-shadows, and a hidden checkbox — zero JavaScript, zero dependencies.

10 minRead ↗
CODE
Code

Bouncing Dots Loader with Pure HTML & CSS — BounceLoader

Step-by-step guide to building a smooth three-dot bouncing loader with squash-and-stretch physics, staggered delays, and dynamic shadows — using only CSS keyframes and custom properties. Zero JavaScript, zero dependencies.

CODE
Code

Bouncing Radio Button — How a Glowing Dot Hops Between Options with Pure CSS

Building a bouncing radio button — a glowing dot that hops between options using CSS transitions, delayed timing, and a sideways bounce animation. No libraries, no animation loop, just CSS and a small JS setup step.

CODE
Code

Hover Reveal Effect — Canvas Compositing with Feathered Lens Masking

A complete walkthrough of building a smooth hover-reveal lens effect using two images, an OffscreenCanvas destination-out mask, and a radial gradient feather edge — no libraries, no CSS tricks, just the 2D Canvas API doing exactly what it was made for.

CODE
Code

Off-Track Loader Animation — SVG Stroke Animation with Verlet-Inspired Jolt Physics

A step-by-step walkthrough of building a smooth, accessible Off-Track Loader using a single SVG path, CSS stroke-dashoffset animation, a multi-stop linear gradient, and a jolt keyframe that mimics reactive physics — no JavaScript, no libraries.

CODE
Code

3D Card Carousel with Pure CSS & HTML5 Canvas — No Libraries

A step-by-step breakdown of building an interactive 3D rotating card carousel using only CSS custom properties, the CSS tan() math function, transform chains, and a procedurally generated HTML file — no JavaScript frameworks, no physics engines, no canvas libraries.

10 minRead ↗
CODE
Code

Silly String Physics Simulation with Canvas & Verlet Integration

Step-by-step guide to building an interactive silly string physics simulation using the HTML5 Canvas API, Verlet integration, constraint-based links, SVG collision maps, and a procedurally drawn spray can — no frameworks, no physics engines, no libraries.

14 minRead ↗
CODE
Code

Animated Delivery Truck Button with Pure HTML & CSS — DispatchBtn

Step-by-step guide to building an e-commerce order button with a fully animated delivery truck sequence — package loading, door hatches, speed lines, headlight glow, and a checkmark draw-on — using only CSS keyframes and 13 lines of JavaScript.

11 minRead ↗
CODE
Code

Animated Delete Button with Pure HTML & CSS — TrashBtn

Step-by-step guide to building an animated delete button with a trash icon, paper-shredding animation, and a checkmark confirmation — no frameworks, no libraries, minimal JavaScript.

CODE
Code

Deadline Loader — Animated Progress Bar with Death Character & Countdown in Pure HTML, CSS & Vanilla JS

Step-by-step guide to building a deadline countdown loader featuring an animated walking Death character, a scythe-swinging arm, a writing designer, a red progress fill, and a colour-wipe day counter — no frameworks, no jQuery, no libraries.

14 minRead ↗
CODE
Code

Animated Spinning Border Login Form with Pure HTML & CSS — BorderLogin

Step-by-step guide to building a hover-reveal login form with a dual-layer spinning conic-gradient border, glass panel, and smooth CSS transitions — no frameworks, no libraries, no JavaScript.

10 minRead ↗
CODE
Code

Animated Flip Credit Card Form with Pure HTML & CSS — CardFlip

Step-by-step guide to building a fully interactive credit card form with live card preview, real-time input mirroring, and a smooth 3-D flip animation when the CVV field is focused — no frameworks, no libraries.

12 minRead ↗
CODE
Code

Desert Sand Ball Loader with Pure CSS — DuneSpinner

Step-by-step guide to building a fully animated orbiting sand-ball loader using only CSS custom properties, conic gradients, and keyframe animations — no JavaScript, no images.

10 minRead ↗
CODE
Code

Animated Pencil Loader with SVG & CSS — Aduok Code

Step-by-step guide to building a fully animated pencil loader using pure SVG and CSS keyframe animations — real pencil colors, no JavaScript.

12 minRead ↗
CODE
Code

Procedural Scorpion IK Cursor — Aduok Code

Deep-dive article on building a procedural scorpion IK cursor experience.

18 minRead ↗
Page 1 of 1