字体

  1. Font Family - 设置文本的字体族。例如 font-sans 会应用无衬线字体。

  2. Font Size - 控制文本的字体大小。如 text-lg 会设置较大的字体大小。

  3. Font Smoothing - 应用字体抗锯齿技术,如 antialiased 用于抗锯齿效果。

  4. Font Style - 设置文本的字体风格,通常用于斜体。例如 italic

  5. Font Weight - 控制文本的粗细。如 font-bold 会设置粗体文本。

文本

  1. Text Align - 设置文本对齐方式。例如 text-center 会将文本居中。

  2. Text Color - 设置文本颜色。如 text-blue-500 会设置文本为蓝色。

  3. Text Decoration - 设置文本的装饰线,比如下划线。

  4. Text Decoration Color - 设置装饰线的颜色。

  5. Text Decoration Style - 设置装饰线的样式,如波浪线。

  6. Text Decoration Thickness - 设置装饰线的粗细。

  7. Text Underline Offset - 设置下划线与文本内容的距离。

  8. Text Transform - 控制文本的大小写转换。例如 uppercase 会将文本转换为大写。

  9. Text Overflow - 设置当文本溢出容器时的处理方式。如 truncate 会截断溢出文本并显示省略号。

 

posted on 2024-02-02 21:31  黑逍逍  阅读(2)  评论(0编辑  收藏  举报