Tagged articles
4 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Nov 7, 2025 · Frontend Development

Smooth Canvas Drag & Zoom on Mobile Using Fabric.js and CSS Transform

To enable fluid dragging and zooming of a Fabric.js seat‑layout canvas on mobile, the author replaces costly canvas viewport transforms with CSS transform translate/scale, adds mouse and touch handlers, debounces scaling, disables object caching, caps offsets, and throttles events, achieving smooth performance across browsers.

CSS transformCanvasFabric.js
0 likes · 16 min read
Smooth Canvas Drag & Zoom on Mobile Using Fabric.js and CSS Transform
Goodme Frontend Team
Goodme Frontend Team
Nov 18, 2024 · Frontend Development

Add Rotation and Scaling to Video Previews with React and Vime

This article explains how to implement video rotation, fullscreen handling, and proportional scaling in a React application using the Vime library and CSS transforms, covering container setup, control customization, and code examples for a seamless user experience.

CSS transformfrontendrotation
0 likes · 10 min read
Add Rotation and Scaling to Video Previews with React and Vime
Baidu Geek Talk
Baidu Geek Talk
Apr 2, 2022 · Frontend Development

Frontend Development Case Studies: Resource Loading Debugging, z-index Management, and CSS Transform Effects on Fixed Positioning

This article walks through three frontend case studies: capturing and reporting resource‑load errors and slow assets with global listeners and performance APIs, centralizing z‑index handling to prevent stacking‑context chaos, and demonstrating how a CSS transform on an ancestor changes the behavior and layering of position:fixed elements.

CORSCSS transformdebugging
0 likes · 11 min read
Frontend Development Case Studies: Resource Loading Debugging, z-index Management, and CSS Transform Effects on Fixed Positioning
ELab Team
ELab Team
Mar 18, 2021 · Frontend Development

Transform vs Absolute: How Browser Rendering Impacts Performance

This article compares CSS transform and absolute positioning animations, explains why transform avoids costly repaint operations, and delves into the browser’s rendering pipeline—including DOM, CSSOM, render tree, render objects, layers, and graphics layers—to show how compositing optimizations improve performance.

CSS transformCompositing
0 likes · 17 min read
Transform vs Absolute: How Browser Rendering Impacts Performance