Skip to content

Commit

Permalink
Merge pull request #15 from Paul-Annay/adding-grid-style-properties
Browse files Browse the repository at this point in the history
[Enhancement]: Added rest of the CSS grid properties
  • Loading branch information
chasefleming authored Oct 22, 2023
2 parents 6917aae + 7517bb8 commit 1282757
Showing 1 changed file with 34 additions and 25 deletions.
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

0 comments on commit 1282757

Please sign in to comment.