Tagged articles
20 articles
Page 1 of 1
JavaScript
JavaScript
Dec 3, 2024 · Frontend Development

What’s New in the Latest CSS Tool Release? Key Features Explained

The latest update introduces resolve.conditions default values, enhanced JSON serialization, expanded HTML resource reference support, postcss‑load‑config integration, Sass’s modern API default, customizable CSS output filenames in library mode, and several other minor tweaks affecting a small user base.

CSSRelease NotesSass
0 likes · 1 min read
What’s New in the Latest CSS Tool Release? Key Features Explained
Sohu Tech Products
Sohu Tech Products
Sep 25, 2024 · Frontend Development

From Tailwind CSS to SASS: A Frontend Technology Selection Case Study

After initially adopting Tailwind CSS for rapid UI development in a React real‑time chat app, our team reverted to SASS combined with CSS Modules because the growing utility‑class markup hurt readability, increased build times, and bloated the CSS bundle, ultimately delivering a more maintainable codebase and noticeably better performance.

CSS ModulesReactSass
0 likes · 8 min read
From Tailwind CSS to SASS: A Frontend Technology Selection Case Study
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
ByteDance Web Infra
ByteDance Web Infra
Apr 11, 2023 · Frontend Development

Migrating Excalidraw from Webpack to Rspack: A Step‑by‑Step Guide

This article demonstrates how to migrate the open‑source Excalidraw drawing application from Webpack to the Rust‑based Rspack bundler, covering repository cloning, dependency installation, Rspack initialization, Sass, HTML plugin, environment variable handling, static asset copying, performance comparison, and the use of react‑scripts‑rspack for automated migration.

Build PerformanceEnvironment VariablesHTML plugin
0 likes · 10 min read
Migrating Excalidraw from Webpack to Rspack: A Step‑by‑Step Guide
Aotu Lab
Aotu Lab
Apr 14, 2022 · Frontend Development

Quickly Customize NutUI Themes and Component Styles for Any Project

This article explains the background, design goals, and step‑by‑step implementation of NutUI's theme and component‑level style customization, including online configuration, Sass variable handling, and integration examples for Vite, Webpack, and Taro projects.

SassTaroTheme Customization
0 likes · 11 min read
Quickly Customize NutUI Themes and Component Styles for Any Project
JD Retail Technology
JD Retail Technology
Mar 29, 2022 · Frontend Development

NutUI Theme Customization: Component‑Level Styling and Implementation Guide

This article explains how NutUI’s theme customization enables developers to switch skins, edit component‑level styles, and generate theme variables through an online configurator, providing step‑by‑step usage instructions, code examples for Vite, Webpack and Taro, and a detailed overview of the underlying implementation.

Component LibrarySassTheme Customization
0 likes · 11 min read
NutUI Theme Customization: Component‑Level Styling and Implementation Guide
KooFE Frontend Team
KooFE Frontend Team
Jan 28, 2022 · Frontend Development

How the :is Pseudo‑Class Simplifies CSS and Cuts Redundant Code

This article explains how the modern CSS :is pseudo‑class can replace repetitive selector lists, reduce duplicated code, improve maintainability, and handle selector priority and forgiving parsing, with examples in plain CSS and Sass, plus browser support details.

CSSSassWeb Development
0 likes · 6 min read
How the :is Pseudo‑Class Simplifies CSS and Cuts Redundant Code
WecTeam
WecTeam
Apr 2, 2020 · Frontend Development

How to Optimize WeChat Mini Program Performance: Data, Components, and SASS Tips

This article explains how to keep WeChat mini‑programs fast and small by wisely managing the Page data object, using customData or pureData, choosing proper component communication methods, limiting SASS nesting, and handling templates, imports, and main‑package resources.

Performance OptimizationSassWeChat Mini Program
0 likes · 15 min read
How to Optimize WeChat Mini Program Performance: Data, Components, and SASS Tips
Qunar Tech Salon
Qunar Tech Salon
Jan 4, 2019 · Frontend Development

Advanced Sass Techniques: Mixins, %placeholder Selectors, and ES6‑like Features

This article explores advanced Sass techniques, comparing mixins and %placeholder selectors, demonstrating best and bad practices, and highlighting ES6‑like features such as interpolation, rest parameters, and @each loops, with code examples to help frontend developers write more efficient and maintainable stylesheets.

MixinSCSSSass
0 likes · 8 min read
Advanced Sass Techniques: Mixins, %placeholder Selectors, and ES6‑like Features
Aotu Lab
Aotu Lab
Oct 23, 2018 · Frontend Development

Mastering Precise Responsive Layouts with vh, vw, and Media Queries

This guide explains how to calculate viewport dimensions for different operating systems and browsers, use CSS viewport units and media queries to create a single-page design that adapts smoothly across desktop and mobile screens, and provides Sass functions and JavaScript logic for robust implementation.

JavaScriptMedia QueriesResponsive Design
0 likes · 11 min read
Mastering Precise Responsive Layouts with vh, vw, and Media Queries
Qunar Tech Salon
Qunar Tech Salon
Feb 22, 2016 · Frontend Development

Challenges and Optimization Practices for Mobile Front-End Development

The article examines the heightened performance, touch experience, and code size challenges faced by mobile front‑end development, presents survey‑based user pain points, and details practical optimization techniques—including server‑side rendering, modular architecture, CSS3 animations, and tooling such as RequireJS, Sass, and HTTP/2—to improve responsiveness and user experience.

CSS3 animationsPerformance OptimizationRequireJS
0 likes · 11 min read
Challenges and Optimization Practices for Mobile Front-End Development