Table Layout

    Use to allow the table to automatically size columns to fit the contents of the cell.

    Use table-fixed to allow the table to ignore the content and use fixed widths for columns. The width of the first row will set the column widths for the whole table.

    Table Layout - 图2

    By default, only responsive variants are generated for table layout utilities.

    You can control which variants are generated for the table layout utilities by modifying the property in the variants section of your file.

    Disabling

    If you don’t plan to use the table layout utilities in your project, you can disable them entirely by setting the tableLayout property to in the corePlugins section of your config file:

     Transition Property→