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