A Visual Studio Code extension that allows you to debug your HTML files in a 3D perspective. Perfect for visualizing the structure of your HTML documents and exploring the spatial relationships between elements.
Features
3D Visualization: View your HTML documents in a 3D space.
⚠️ Important: this only works if your HTML has a body tag!
Custom Stacking: Render stack of elements by DOM, Z-INDEX or BOTH
Reload on Save: Any saved changes will automatically be reflected in the renderer
Quick HTML Change: Changes rendered HTML based on which editor is active (as long as its a valid HTML)
View Element Details View information about the element's position, size, layer, etc.
Installation
To install the 3D HTML Viewer extension, follow these steps:
Open Visual Studio Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar.
Search for "3D HTML Viewer" by Aizhe.
Click Install.
Usage
Open an HTML file in VS Code.
Press Ctrl+Shift+3 (Windows/Linux) or Cmd(⌘)+Shift+3 (Mac) to activate the 3D viewer.