-
Notifications
You must be signed in to change notification settings - Fork 0
/
tables.pug
53 lines (46 loc) · 1.88 KB
/
tables.pug
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
extend __LAYOUT-TEMPLATE.pug
block vars
- var pageTitle = "Tables"
block content
h1!= pageTitle
.grid-x.grid-padding-x
.cell
h3 Table: Basic (with .hover and .stack)
:markdown-it
Also add these styles to change interaction
+ .hover
+ .stack (to stack on mobile)
+ .unstriped
+ .scrolling
[https://foundation.zurb.com/sites/docs/table.html](https://foundation.zurb.com/sites/docs/table.html) for more.
.grid-x.grid-padding-x
.cell
table.hover.stack
thead
tr
th Table Header
th Table Header
th Table Header
th Table Header
tbody
tr
td(style="width: 20%") Content Goes Here
td This is longer content Donec id elit non mi porta gravida at eget metus.
td Content Goes Here
td Content Goes Here
tr
td Content Goes Here in this area and others and others
td This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.
td Content Goes Here
td Content Goes Here
tr
td Content Goes Here
td This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.
td Content Goes Here
td Content Goes Here
tfoot
tr
th Table Footer
th Table Footer
th Table Footer
th Table Footer