Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Added rest of the CSS grid properties #15

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 34 additions & 25 deletions styles/styles.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,40 @@ package styles

const (
// Layout Properties
Display = "display"
Position = "position"
Top = "top"
Right = "right"
Bottom = "bottom"
Left = "left"
Overflow = "overflow"
OverflowX = "overflow-x"
OverflowY = "overflow-y"
ZIndex = "z-index"
Flex = "flex"
FlexDirection = "flex-direction"
JustifyContent = "justify-content"
AlignItems = "align-items"
AlignContent = "align-content"
FlexWrap = "flex-wrap"
Grid = "grid"
GridArea = "grid-area"
GridColumn = "grid-column"
GridColumnEnd = "grid-column-end"
GridColumnStart = "grid-column-start"
GridRow = "grid-row"
GridRowEnd = "grid-row-end"
GridRowStart = "grid-row-start"
GridTemplate = "grid-template"
Display = "display"
Position = "position"
Top = "top"
Right = "right"
Bottom = "bottom"
Left = "left"
Overflow = "overflow"
OverflowX = "overflow-x"
OverflowY = "overflow-y"
ZIndex = "z-index"
Flex = "flex"
FlexDirection = "flex-direction"
JustifyContent = "justify-content"
AlignItems = "align-items"
AlignContent = "align-content"
FlexWrap = "flex-wrap"
Grid = "grid"
GridArea = "grid-area"
GridAutoColumns = "grid-auto-columns"
GridAutoFlow = "grid-auto-flow"
GridAutoRows = "grid-auto-rows"
GridColumn = "grid-column"
GridColumnEnd = "grid-column-end"
ColumnGap = "column-gap"
GridColumnStart = "grid-column-start"
GridRow = "grid-row"
Gap = "gap"
GridRowEnd = "grid-row-end"
RowGap = "row-gap"
GridRowStart = "grid-row-start"
GridTemplate = "grid-template"
GridTemplateAreas = "grid-template-areas"
GridTemplateColumns = "grid-template-columns"
GridTemplateRows = "grid-template-rows"

// Box Model Properties
Width = "width"
Expand Down