Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to group and order CSS properties
.selector {
/* Positioning */
position: absolute;
z-index: 10;
top: 0;
right: 0;
/* Display & Box Model */
display: inline-block;
overflow: hidden;
box-sizing: border-box;
width: 100px;
height: 100px;
padding: 10px;
margin: 10px;
border: 10px solid #333;
/* Color */
background: #000;
color: #fff
/* Text */
font-family: sans-serif;
font-size: 16px;
line-height: 1.4;
text-align: right;
/* Other */
cursor: pointer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment