Voxel Paris

3D voxel representation of a city scene.

Under the Hood: How it Works

CSS 3D Transform Cubes

An impressive display of native CSS 3D capabilities. By assembling six flat HTML divs into a cube structure using transformX, Y, and Z properties, entire voxel geometries are constructed in the DOM without launching a WebGL context.

How to Use This Animation

Step-by-step instructions to integrate Voxel Paris into your project.

🚀

Add Voxel Paris to Your Site

  1. 1 Click Download HTML to get the standalone Voxel Paris file
  2. 2 Open the file in a code editor and copy the <style> block into your CSS
  3. 3 Copy the <script> block before your closing </body> tag
  4. 4 Add the HTML markup to your page where you want the animation
🎯

Use as a Full-Page Background

  1. 1 Add a container div with position: fixed; inset: 0; z-index: -1
  2. 2 Place the animation inside that container
  3. 3 Your page content will appear above the animation
  4. 4 Add pointer-events: none to the container if the animation blocks clicks

Source Code
Source Copied!
Loved this effect? Host your deployment globally for free on our partner networks:
Vercel Netlify Hostinger