Skip to content

Instantly share code, notes, and snippets.

@Martin-Pitt
Last active December 10, 2020 14:44
Show Gist options
  • Save Martin-Pitt/557a13b503df15eae9fee5fa54681cc5 to your computer and use it in GitHub Desktop.
Save Martin-Pitt/557a13b503df15eae9fee5fa54681cc5 to your computer and use it in GitHub Desktop.
CSS Concentric Styling Order
{
	/* Where the box is placed */
	position: ;
	z-index: ;
	float: ;
	place-self: ;
	justify-self: ;
	align-self: ;
	vertical-align: ;
	transform: ;
	
	/* Box model behaviour */
	display: ;
	object-*: ;
	box-sizing: ;
	grid-*: ;
	flex-*: ;
	align-*: ;
	justify-*: ;
	overflow: ;
	scroll-*: ;
	
	/* Box model shape */
	width: ;
	height: ;
	padding: ;
	border: ;
	margin: ;
	clip-path: ;
	mask: ;
	
	/* Decor */
	fill: ;
	stroke: ;
	background: ;
	backdrop-*: ;
	opacity: ;
	outline: ;
	box-shadow: ;
	
	/* Typography */
	color: ;
	font: ;
	font-*: ;
	text-*: ;
	word-*: ;
	letter-*: ;
	
	/* State */
	animation: ;
	transition: ;
	visibility: ;
	pointer-events: ;
	cursor: ;
}
@Martin-Pitt
Copy link
Author

min-width & min-height, max-width & max-height would follow after the width & height pair

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