One moment, we're cooking some code examples

Header image

Tables visualize your data

Utilize tables to visually organize your data – a classic web design approach that proves the enduring relevance of tabular data.

Tables

Learn Tables

A table in HTML consists of a <table> element with table rows <tr> and table data cells <td>. To mark the heading of each column, you should use the table heading <th> element.

Basic table

A basic table with default styling.

In this example we have a simple table with some headings and data cells. We use some classes to highlight and align the table contents.

Table Striped

With this table the lines are made using tr:nth-child(even) this gives each even row a background color. By doing this you can make the content much easier to read

Table colours

Here is a example of a way to use colour inside a table. We also made a availability bar with you can change the length of by adjusting the class Stock-100

Table styling with @mixins and @includes (responsive and resizable)

Time for something really extraordinary.

Make responsive CSS styling extremely easy. Why not not mix a realtime resizable preview with responsive media queries? Yes! Now you can mix and match Realtime responsive media queries without resizing the browser.

We made this table responsive. we did this by using media queries. and if the screen is less than 600px tha layout will chane by using first-child and last-child by doing this we made the content inside the table clear to read.

Table Span

Cell span <colspan=""> and row span <rowspan=""> are used to join cells together to make a larger cell. You can join cells horizontally, vertically, or both.

We used hover to make it more visible.