Skip to content

Instantly share code, notes, and snippets.

@neutraltone
Last active October 23, 2016 18:02
Show Gist options
  • Save neutraltone/9ab48a25de1a6b3f2cfe617d27b092bd to your computer and use it in GitHub Desktop.
Save neutraltone/9ab48a25de1a6b3f2cfe617d27b092bd to your computer and use it in GitHub Desktop.
Stylelint Declaration Order
"declaration-block-properties-order": [
'composes',
'display',
'position',
'top',
'right',
'bottom',
'left',
'columns',
'column-gap',
'column-fill',
'column-rule',
'column-span',
'column-count',
'column-width',
'flex',
'flex-basis',
'flex-direction',
'flex-flow',
'flex-grow',
'flex-shrink',
'flex-wrap',
'justify-content',
'align-content',
'align-items',
'align-self',
'order',
'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-smoothing',
'font-style',
'content',
'quotes'
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment