字体
-
Font Family - 设置文本的字体族。例如
font-sans
会应用无衬线字体。 -
Font Size - 控制文本的字体大小。如
text-lg
会设置较大的字体大小。 -
Font Smoothing - 应用字体抗锯齿技术,如
antialiased
用于抗锯齿效果。 -
Font Style - 设置文本的字体风格,通常用于斜体。例如
italic
。 -
Font Weight - 控制文本的粗细。如
font-bold
会设置粗体文本。
文本
-
Text Align - 设置文本对齐方式。例如
text-center
会将文本居中。 -
Text Color - 设置文本颜色。如
text-blue-500
会设置文本为蓝色。 -
Text Decoration - 设置文本的装饰线,比如下划线。
-
Text Decoration Color - 设置装饰线的颜色。
-
Text Decoration Style - 设置装饰线的样式,如波浪线。
-
Text Decoration Thickness - 设置装饰线的粗细。
-
Text Underline Offset - 设置下划线与文本内容的距离。
-
Text Transform - 控制文本的大小写转换。例如
uppercase
会将文本转换为大写。 -
Text Overflow - 设置当文本溢出容器时的处理方式。如
truncate
会截断溢出文本并显示省略号。