Skip to content

Instantly share code, notes, and snippets.

@brachycera
Created March 23, 2018 16:47
Show Gist options
  • Save brachycera/837938d6d685f90213a85dfd643b1d5a to your computer and use it in GitHub Desktop.
Save brachycera/837938d6d685f90213a85dfd643b1d5a to your computer and use it in GitHub Desktop.
cssComb config-key: "sort-order", for concentric sorting of properties
{
"sort-order": [
"display",
"position",
"top",
"right",
"bottom",
"left",
"columns",
"column-gap",
"column-fill",
"column-rule",
"column-span",
"column-count",
"column-width",
"float",
"clear",
"transform",
"transition",
"animation",
"animation-name",
"animation-duration",
"animation-timing-function",
"animation-delay",
"animation-iteration-count",
"animation-direction",
"animation-fill-mode",
"animation-play-state",
"visibility",
"opacity",
"z-index",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"outline",
"border",
"border-top",
"border-right",
"border-bottom",
"border-left",
"border-width",
"border-top-width",
"border-right-width",
"border-bottom-width",
"border-left-width",
"border-style",
"border-top-style",
"border-right-style",
"border-bottom-style",
"border-left-style",
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-left-radius",
"border-bottom-right-radius",
"border-color",
"border-top-color",
"border-right-color",
"border-bottom-color",
"border-left-color",
"box-shadow",
"background",
"background-color",
"background-image",
"background-repeat",
"background-position",
"background-size",
"cursor",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"overflow",
"list-style",
"caption-side",
"table-layout",
"border-collapse",
"border-spacing",
"empty-cells",
"vertical-align",
"text-align",
"text-indent",
"text-transform",
"text-decoration",
"text-rendering",
"text-shadow",
"text-overflow",
"line-height",
"word-spacing",
"letter-spacing",
"white-space",
"color",
"font",
"font-family",
"font-size",
"font-weight",
"font-style",
"content",
"quotes",
"hyphens",
"tab-size",
"word-break",
"word-wrap",
"text-align-last",
"font-variant",
"font-size-adjust",
"font-stretch",
"counter-reset",
"counter-increment",
"list-style-image",
"list-style-type",
"filter",
"resize",
"list-style-position",
"box-decoration-break",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"background-origin",
"transform-origin",
"background-clip",
"background-attachment",
"border-image-repeat",
"border-image-outset",
"border-image-width",
"border-image-slice",
"border-image-source",
"border-image",
"pointer-events",
"unicode-bidi",
"direction",
"outline-offset",
"outline-color",
"outline-style",
"outline-width",
"box-sizing",
"clip",
"overflow-y",
"column-rule-width",
"column-rule-style",
"column-rule-color",
"break-before",
"break-inside",
"break-after",
"page-break-before",
"page-break-inside",
"page-break-after",
"orphans",
"widows",
"zoom",
"max-zoom",
"min-zoom",
"user-zoom",
"orientation",
"align-content",
"align-items",
"align-self",
"overflow-x",
"backface-visibility",
"background-blend-mode",
"border-block-end",
"border-block-end-color",
"border-block-end-style",
"border-block-end-width",
"border-block-start",
"border-block-start-color",
"border-block-start-style",
"border-block-start-width",
"border-inline-end",
"border-inline-end-color",
"border-inline-end-style",
"border-inline-end-width",
"border-inline-start",
"border-inline-start-color",
"border-inline-start-style",
"border-inline-start-width",
"clip-path",
"fallback",
"flex",
"flex-basis",
"flex-flow",
"flex-grow",
"flex-shrink",
"flex-wrap",
"font-feature-settings",
"font-kerning",
"font-language-override",
"font-synthesis",
"font-variant-alternates",
"font-variant-caps",
"font-variant-east-asian",
"font-variant-ligatures",
"font-variant-numeric",
"font-variant-position",
"grid",
"grid-area",
"grid-auto-columns",
"grid-auto-flow",
"grid-auto-position",
"grid-auto-rows",
"grid-column",
"grid-column-start",
"grid-column-end",
"grid-row",
"grid-row-start",
"grid-row-end",
"grid-template",
"grid-template-areas",
"grid-template-rows",
"grid-template-columns",
"image-rendering",
"image-resolution",
"image-orientation",
"ime-mode",
"inline-size",
"isolation",
"justify-content",
"line-break",
"margin-block-end",
"margin-block-start",
"margin-inline-end",
"margin-inline-start",
"marks",
"mask",
"mask-type",
"max-block-size",
"max-inline-size",
"min-block-size",
"min-inline-size",
"mix-blend-mode",
"negative",
"object-fit",
"object-position",
"offset-block-end",
"offset-block-start",
"offset-inline-end",
"offset-inline-start",
"order",
"overflow-wrap",
"padding-block-end",
"padding-block-start",
"padding-inline-end",
"padding-inline-start",
"perspective",
"perspective-origin",
"prefix",
"range",
"ruby-align",
"ruby-merge",
"ruby-position",
"scroll-behavior",
"scroll-snap-coordinate",
"scroll-snap-destination",
"scroll-snap-points-x",
"scroll-snap-points-y",
"scroll-snap-type",
"scroll-snap-type-x",
"scroll-snap-type-y",
"shape-image-threshold",
"shape-margin",
"shape-outside",
"speak-as",
"suffix",
"symbols",
"system",
"text-combine-upright",
"text-decoration-color",
"text-decoration-line",
"text-decoration-style",
"text-orientation",
"flex-direction",
"text-underline-position",
"touch-action",
"transform-box",
"transform-style",
"unicode-range",
"will-change",
"writing-mode",
"$extend"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment