CSS

Understanding Tailwind

Recently, an open source project needed an H5 version, so I decided to try Tailwind. Here I’ll mark down my understanding and feelings after using it. For learning materials, the official website is of course the top recommendation. Here I’ll mainly share my rough understanding.

Jul 24, 2025

Implementing Input Autocomplete Visuals

For WebShell-like command inputs, fake partial highlighting by layering a positioned div behind the input; CSS alone can’t color only the suffix.

Nov 25, 2023

Using CSS :has() Function

This article introduces the use of CSS :has() function, including its advantages, implementation details, and related resources to help improve efficiency with CSS :has() function.

Nov 1, 2023

Alpha in CSS

This article introduces Alpha in CSS, including its advantages, implementation details, and related resources to help improve efficiency with Alpha in CSS.

Feb 7, 2022

了解RTL

本文介绍了解RTL,包括使用场景、实现细节等,以提高了解RTL的效率。

Oct 7, 2021

Reading Notes on "Beginning CSS Preprocessors"

This article introduces the book "Beginning CSS Preprocessors", covering its advantages, implementation details, and related resources to improve efficiency in using CSS preprocessors.

Apr 14, 2020

Solving the Misalignment Between Antd Table Headers and Content Cells

This article introduces the issue of misalignment between Antd table headers and content cells, including advantages, implementation details, and related resources to improve efficiency.

Feb 5, 2020

Implementing Less and CSS Modules in Projects

Why our React project paired Less with CSS Modules, the webpack/TypeScript setup, and how we organize themes vs. component styles.

Sep 1, 2019

Using Web Fonts in Frontend

Overview of web font usage: formats, loading strategies, performance, and compatibility tips.

Aug 11, 2019