WXSS Reference
WXSS (WeiXin Style Sheets) is a style language used to describe component styles for AIUI agents.
WXSS uses CSS-style syntax and supports a subset of properties, functions, and animations for AIUI interfaces. Use this chapter for the supported scope.
In this section, you can learn the detailed WXSS reference:
-
Introduction: Learn the basic concepts of WXSS, the
rpxsize unit, and style imports. -
Selectors: See the selector types supported by WXSS.
-
Pseudo-classes: Learn the supported pseudo-classes such as
:activeand:focus. -
Pseudo-elements: Learn the supported pseudo-elements such as
::beforeand::after. -
Properties: See the list of supported CSS properties.
-
Value Types: Learn the units and formats of property values.
-
Functions: Learn the supported CSS functions such as
calc()andvar(). -
At-rules: Learn the supported at-rules such as
@importand@media. -
Animations and transforms: concurrent animations, events, and decorations triggered by text changes.
-
Random values with
random(): syntax, stable values, and per-replay random contexts.