Skip to content

CSS: table.cell

td — 一个数据单元(InstUI Table.Cell)。

父级 table-layout-stacked 修饰符将此成员堆叠为块并通过 ::before 为其添加标签 — 参见 table 的文档以了解该修饰符。

用法

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/table.cell.css";

伪元素

伪元素描述
::before

消耗代币

Token类型
--instui-component-table-cell-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-cell-line-height<percentage>125%
--instui-component-table-cell-padding-horizontal<length>0.75rem
--instui-component-table-cell-padding-vertical<length>0.5rem
--instui-component-table-col-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-head-font-weight<integer>600