Skip to content

CSS: table.cell ​

td — Một ô dữ liệu (InstUI Table.Cell).

Bộ sửa đổi -layout-stacked của phần tử cha table xếp thành viên này thành một khối và gắn nhãn cho nó thông qua ::before — xem tài liệu của chính table để biết về bộ sửa đổi đó.

Sử dụng ​

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

Phần tử giả ​

Phần tử giảMô tả
::before—

Token tiêu thụ ​

TokenKiểuGiá trị
--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