Tagged articles
4 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 29, 2024 · Frontend Development

How to Build a Mouse‑Tracking Parallax Banner Animation with HTML, CSS, and JavaScript

This tutorial explains how to recreate Bilibili's mouse‑responsive top‑banner animation by collecting assets, constructing a layered HTML structure, applying CSS positioning, and writing vanilla JavaScript to track mouse movement, calculate element offsets, and animate the layers with smooth transitions.

CSSHTMLJavaScript
0 likes · 15 min read
How to Build a Mouse‑Tracking Parallax Banner Animation with HTML, CSS, and JavaScript
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 3, 2024 · Mobile Development

Implementing a Mobile Parallax Effect Using the DeviceOrientationEvent Gyroscope API

This article explains how to recreate a desktop‑style parallax animation on mobile devices by leveraging the DeviceOrientationEvent gyroscope API, covering background concepts, sensor data handling, implementation steps, code examples, and common issues such as HTTPS requirements and iOS permission prompts.

MobileWeb Developmentdeviceorientation
0 likes · 7 min read
Implementing a Mobile Parallax Effect Using the DeviceOrientationEvent Gyroscope API
21CTO
21CTO
Jun 5, 2021 · Frontend Development

Top 8 Web Design Trends Shaping 2021: From 3D to Video Integration

The article reviews the eight dominant web design trends of 2021—including 3D graphics, parallax animation, custom illustrations, minimalist layouts, abstract shapes, bold gradients, digital product showcases, and embedded video—explaining how each enhances user engagement in a post‑pandemic digital landscape.

2021 Trends3DUI/UX
0 likes · 6 min read
Top 8 Web Design Trends Shaping 2021: From 3D to Video Integration