language

WXSS

WXSS (WeiXin Style Sheets) is a style sheet language used in the WeChat Mini Program ecosystem to define the visual presentation of components. It is based on CSS but includes extensions and restrictions tailored for the WeChat platform, such as support for responsive units (rpx) and a simplified selector system. WXSS files are compiled and run within the WeChat Mini Program environment to style pages and components.

Also known as: WeiXin Style Sheets, WeChat Style Sheets, WXSS CSS, Mini Program CSS, WeChat WXSS
🧊Why learn WXSS?

Developers should learn WXSS when building WeChat Mini Programs, as it is the standard styling language required for customizing the appearance of these applications. It is essential for creating responsive and platform-consistent user interfaces within WeChat's ecosystem, and its use is mandatory for any visual customization beyond basic defaults in Mini Programs.

Compare WXSS

Learning Resources

Related Tools

Alternatives to WXSS