Tagged articles
14 articles
Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Dec 27, 2025 · Frontend Development

Layui 3 v3.0.0‑alpha: New Build Tools, ES Modules & Theme Customization

Layui 3 v3.0.0‑alpha restructures the project with ES‑module migration, a Rollup‑Babel‑PostCSS build pipeline, Prettier + ESLint enforcement, Jest testing, CSS‑Variable theming, and multiple import methods, while keeping component APIs identical to v2 and dropping IE support.

CSS VariablesES ModulesJavaScript
0 likes · 5 min read
Layui 3 v3.0.0‑alpha: New Build Tools, ES Modules & Theme Customization
Alipay Experience Technology
Alipay Experience Technology
Nov 24, 2025 · Frontend Development

What’s New in Ant Design 6.0? A Deep Dive into the Latest Frontend Upgrade

Ant Design 6.0 and Ant Design X 2.0 were officially released at SEE Conf 2025, introducing smooth migration from v5, raising the minimum React version to 18, adopting pure CSS‑Variables, enabling React Compiler in the build, revamping component semantics, dropping IE support, and adding several new components such as Masonry, enhanced Tooltip, spinner‑style InputNumber, draggable Drawer, and blur‑mask overlays, with a clear upgrade guide and future roadmap.

Ant DesignCSS VariablesComponent Library
0 likes · 10 min read
What’s New in Ant Design 6.0? A Deep Dive into the Latest Frontend Upgrade
Sohu Tech Products
Sohu Tech Products
Jul 10, 2024 · Frontend Development

Implementing an Infinite 3D Carousel Animation with Pure CSS

The article shows how to build a smooth, infinite 3D carousel using only CSS by sharing a common motion path, staggering items with negative animation delays, defining keyframes (including optional pauses), and optionally leveraging @property and @container style for smoother or declarative control, while noting browser compatibility and hover‑pause tips.

3D carouselCSSCSS Variables
0 likes · 12 min read
Implementing an Infinite 3D Carousel Animation with Pure CSS
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 20, 2024 · Frontend Development

Theme Color Switching Solutions for Frontend Projects: Hard Coding, SASS Variables, CSS Variables, Filters, and Grayscale

This article compares five practical methods for changing theme colors in frontend applications—hard‑coded global replacements, SASS variable configuration, combined CSS‑variable and data‑theme approach, CSS filter hue‑rotate, and grayscale filter—detailing implementation steps, code snippets, advantages, and drawbacks to help teams choose the most suitable solution.

CSS VariablesSassfilter
0 likes · 12 min read
Theme Color Switching Solutions for Frontend Projects: Hard Coding, SASS Variables, CSS Variables, Filters, and Grayscale
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 24, 2022 · Frontend Development

Implementing an Icon Component in Vue3: Structure, Props, CSS Variables, and Global Registration

This article walks through building a reusable Icon component with Vue3's Composition API, covering directory layout, prop definitions, TypeScript typing, CSS variable styling, local and global registration, type augmentation, and the use of the defineOptions macro for component naming.

CSS VariablesComponent RegistrationComposition API
0 likes · 25 min read
Implementing an Icon Component in Vue3: Structure, Props, CSS Variables, and Global Registration
政采云技术
政采云技术
Feb 8, 2022 · Frontend Development

Implementing One‑Click Theme Switching with SCSS in a Vue Project

This article explains how to build a one‑click skin‑changing system for a Vue application by defining SCSS variables, creating theme maps, configuring webpack and vue.config.js to inject global styles, and using both CSS custom properties and advanced SCSS features such as loops, maps, and mixins to dynamically switch colors, fonts, and sizes.

CSS VariablesSCSSTheme Switching
0 likes · 13 min read
Implementing One‑Click Theme Switching with SCSS in a Vue Project
Xueersi 1-on-1 Technology Team
Xueersi 1-on-1 Technology Team
Oct 14, 2021 · Frontend Development

Mastering Theme Switching: 8 Proven Methods to Implement Dark/Light Modes in Web Apps

This article explores eight practical techniques for implementing theme switching in web applications—including class toggling, stylesheet swapping, CSS variables, alternate rel links, Less modifyVars, Ant Design/Vant custom themes, Element‑UI dynamic theming, and JSS—detailing code snippets, advantages, and limitations of each approach.

CSSCSS VariablesDark Mode
0 likes · 11 min read
Mastering Theme Switching: 8 Proven Methods to Implement Dark/Light Modes in Web Apps
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jul 28, 2021 · Frontend Development

Advanced Techniques and Best Practices for Using styled-components in React

This article shares practical tips, patterns, and mental models for mastering styled-components in React, covering CSS variables, context styling, component encapsulation, inheritance, margin handling, z-index management, the "as" prop, priority tricks, and related tooling to write cleaner, more maintainable UI code.

CSS VariablesComponent StylingReact
0 likes · 19 min read
Advanced Techniques and Best Practices for Using styled-components in React
vivo Internet Technology
vivo Internet Technology
Aug 26, 2020 · Frontend Development

Adaptive Grid Layout Solutions for Management Backend Pages

To solve inconsistent PC resolutions and the lack of multiple design drafts in backend management pages, we evaluated fixed‑width, fixed‑count, Material Design, and custom grids, then built a reusable adaptive‑grid component that recalculates card width, margin, and padding on resize using CSS variables, delivering responsive card‑lists while minimizing design overhead.

CSS VariablesComponentResponsive Design
0 likes · 16 min read
Adaptive Grid Layout Solutions for Management Backend Pages
Qborfy AI
Qborfy AI
Jul 7, 2020 · Frontend Development

Unlock JavaScript Sandboxes, Code Scanning & Front‑End Innovations

This weekly tech roundup explains how JavaScript sandboxes isolate code, details a low‑cost AST‑based code‑scanning approach, compares Vue, React and Angular, and shows how domain‑driven design and CSS variables can streamline modern front‑end development.

CSS VariablesCode ScanningDomain-Driven Design
0 likes · 7 min read
Unlock JavaScript Sandboxes, Code Scanning & Front‑End Innovations
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
May 22, 2020 · Frontend Development

Mastering Dark Mode with CSS Variables: A Step‑by‑Step Guide

This article explains how to implement a flexible dark‑mode theme using modern CSS custom properties, covering variable definition, runtime theme switching, Sass/Less integration, media‑query detection, image handling, event‑bus notifications, polyfills for older browsers, and the challenges of color mapping.

CSS VariablesDark ModeResponsive Design
0 likes · 16 min read
Mastering Dark Mode with CSS Variables: A Step‑by‑Step Guide