Skip to content

Instantly share code, notes, and snippets.

@jerrylow
Last active September 21, 2018 16:09
Show Gist options
  • Save jerrylow/dafc889845a2ca85460445eb5673788b to your computer and use it in GitHub Desktop.
Save jerrylow/dafc889845a2ca85460445eb5673788b to your computer and use it in GitHub Desktop.
CSS Comb Sort Alphabetically
{
"sort-order": [[
"$include",
"$extend",
"align-items",
"align-self",
"animation",
"animation-delay",
"animation-direction",
"animation-duration",
"animation-iteration-count",
"animation-name",
"animation-play-state",
"animation-timing-function",
"background",
"background-attachment",
"background-clip",
"background-color",
"background-image",
"background-origin",
"background-position",
"background-position-x",
"background-position-y",
"background-repeat",
"background-size",
"border",
"border-bottom",
"border-bottom-color",
"border-bottom-image",
"border-bottom-left-image",
"border-bottom-left-radius",
"border-bottom-right-image",
"border-bottom-right-radius",
"border-bottom-style",
"border-bottom-width",
"border-collapse",
"border-color",
"border-corner-image",
"border-image",
"border-image-outset",
"border-image-repeat",
"border-image-slice",
"border-image-source",
"border-image-width",
"border-left",
"border-left-color",
"border-left-image",
"border-left-style",
"border-left-width",
"border-radius",
"border-right",
"border-right-color",
"border-right-image",
"border-right-style",
"border-right-width",
"border-spacing",
"border-style",
"border-top",
"border-top-color",
"border-top-image",
"border-top-left-image",
"border-top-left-radius",
"border-top-right-image",
"border-top-right-radius",
"border-top-style",
"border-top-width",
"border-width",
"bottom",
"box-decoration-break",
"box-shadow",
"box-sizing",
"break-after",
"break-before",
"break-inside",
"caption-side",
"clear",
"clip",
"color",
"column-count",
"column-fill",
"column-gap",
"column-rule",
"column-rule-color",
"column-rule-style",
"column-rule-width",
"column-span",
"column-width",
"columns",
"content",
"counter-increment",
"counter-reset",
"cursor",
"direction",
"display",
"empty-cells",
"filter",
"flex",
"flex-align",
"flex-basis",
"flex-direction",
"flex-grow",
"flex-order",
"flex-pack",
"flex-shrink",
"flex-wrap",
"float",
"font",
"font-family",
"font-size",
"font-size-adjust",
"font-stretch",
"font-style",
"font-variant",
"font-weight",
"height",
"hyphens",
"justify-content",
"left",
"letter-spacing",
"line-height",
"list-style",
"list-style-image",
"list-style-position",
"list-style-type",
"margin",
"margin-bottom",
"margin-left",
"margin-right",
"margin-top",
"max-height",
"max-width",
"max-zoom",
"min-height",
"min-width",
"min-zoom",
"nav-down",
"nav-index",
"nav-left",
"nav-right",
"nav-up",
"opacity",
"orientation",
"orphans",
"outline",
"outline-color",
"outline-offset",
"outline-style",
"outline-width",
"overflow",
"overflow-x",
"overflow-y",
"-webkit-overflow-scrolling",
"padding",
"padding-bottom",
"padding-left",
"padding-right",
"padding-top",
"page-break-after",
"page-break-before",
"page-break-inside",
"perspective",
"position",
"quotes",
"resize",
"right",
"src",
"tab-size",
"table-layout",
"text-align",
"text-align-last",
"text-decoration",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-position",
"text-emphasis-style",
"text-indent",
"text-justify",
"text-outline",
"text-overflow",
"text-overflow-ellipsis",
"text-overflow-mode",
"text-rendering",
"text-shadow",
"text-transform",
"text-wrap",
"top",
"transform",
"transform-origin",
"transform-style",
"transition",
"transition-delay",
"transition-duration",
"transition-property",
"transition-timing-function",
"unicode-bidi",
"user-zoom",
"vertical-align",
"visibility",
"white-space",
"widows",
"width",
"word-break",
"word-spacing",
"word-wrap",
"z-index",
"zoom"
], [
"$include respond-to",
"$include breakpoint"
]]
}
@jerrylow
Copy link
Author

Added new properties + added breakpoint/respond-to mixins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment