-
Notifications
You must be signed in to change notification settings - Fork 9
/
display.go
31 lines (28 loc) · 1.09 KB
/
display.go
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
package props
type Display string
const (
DisplayBlock Display = "block"
DisplayInlineBlock Display = "inline-block"
DisplayInline Display = "inline"
DisplayFlex Display = "flex"
DisplayInlineFlex Display = "inline-flex"
DisplayTable Display = "table"
DisplayInlineTable Display = "inline-table"
DisplayTableCaption Display = "table-caption"
DisplayTableCell Display = "table-cell"
DisplayTableColumn Display = "table-column"
DisplayTableColumnGroup Display = "table-column-group"
DisplayTableFooterGroup Display = "table-footer-group"
DisplayTableHeaderGroup Display = "table-header-group"
DisplayTableRowGroup Display = "table-row-group"
DisplayTableRow Display = "table-row"
DisplayFlowRoot Display = "flow-root"
DisplayGrid Display = "grid"
DisplayInlineGrid Display = "inline-grid"
DisplayContents Display = "contents"
DisplayListItem Display = "list-item"
DisplayNone Display = "none"
)
func (d Display) String() string {
return string(d)
}