Skip to content

table-layout code example mistake #83

Closed
@Yuyz0112

Description

@Yuyz0112

In the table-layout(https://tympanus.net/codrops/css_reference/table-layout/) reference's 'The Automatic Table Layout' section, there is a mistake in the code example's class name.

If the width of the table is set, the widths of the columns are set, and the width of the columns is less than the width of the table, the remaining white space is distributed among the columns evenly.

code example: https://tympanus.net/codrops-playground/SaraSoueidan/1KYzzIAk/editor

I think the the second td should has a class name of 'col-2'.

- <td class="col-1">width of second column is 200px</td>
+ <td class="col-2">width of second column is 200px</td>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions