Style layout within a selector. - ModernInc/modern-style GitHub Wiki
Background
Shorthand first, followed by color and then image properties based on their relationship to the box model.
-
background– Avoid if Possible -
background-color -
background-image -
background-attachment -
background-repeat -
background-position -
background-origin -
background-size -
background-clip -
filter[Can I Use?]
Typography
Properties located in partials
@font-facefont-familyfont-sizecolor
Font File
@font-face
font – Avoid if Possible
font-family
font-weight
font-style
font-variant
font-variant-ligatures
font-feature-settings
Modifying font
font-sizeline-heightletter-spacingword-spacingcolor
Int support
writing-modeunicode-bididirection
Modifying behavior
text-transformtext-decorationtext-aligntext-align-lastvertical-aligntext-indenttext-shadowword-breakword-wraptext-overflow
Modifying punctuation
quoteshanging-punctuationtab-sizewhite-space
Modifying Lists
list-stylecounter-incrementcounter-reset
Low Browser Support - Not Recommended
orphans[Can I Use?]hyphens[Can I Use?]line-breaktext-combine-uprighttext-justify@font-feature-valuesfont-kerningfont-language-overridefont-size-adjustfont-stretchfont-synthesisfont-variant-alternatesfont-variant-capsfont-variant-east-asianfont-variant-numericfont-variant-positiontext-orientationtext-underline-positionime-mode
Display
Properties located in partials
z-index
box-sizing
-
display[when not flex] -
appearance -
box-decoration-break -
overflow -
overflow-x -
overflow-y -
overflow-wrap -
opacity -
visibility -
cursor -
resize -
page-break
Flex
Parent
display[when flex]flex-flowjustify-contentalign-itemsalign-content
Child
orderflexalign-self
Column
Not enough browser support to implement yet.
Table
caption-sideempty-cellstable-layout
Float
float@extend %clearfix
Don't use clear, use %clearfix
Position
@extend %position-(type)+position(top, right, bottom, left)- initial = null@extend %position - 0, 0, 0, 0
Margin
margin
Border
box-shadowoutlineborderborder-radiusborder-collapseborder-spacing
Height / Width
max-heightmin-heightheightmax-widthmin-widthwidth
Padding
padding
Transform
transformperspectivebackface-visibility
Transitions
transition
Animation
In it's own partial
::before
@extend %content
::after
@extend %content
:hover:active