Skip to content

Instantly share code, notes, and snippets.

@7kfpun
Created January 28, 2019 10:45
Show Gist options
  • Save 7kfpun/92ca1fb2b2354a5ccc1c0bc02c35e21a to your computer and use it in GitHub Desktop.
Save 7kfpun/92ca1fb2b2354a5ccc1c0bc02c35e21a to your computer and use it in GitHub Desktop.
Declaration order
.selector {
/* Positioning */
position: absolute;
z-index: 10;
top: 0;
right: 0;
bottom: 0;
left: 0;
/* Display & Box Model */
display: inline-block;
overflow: hidden;
box-sizing: border-box;
width: 100px;
height: 100px;
padding: 10px;
border: 10px solid #333;
margin: 10px;
/* Typography */
font: normal 13px 'Helvetica Neue', sans-serif;
line-height: 1.5;
color: #333;
text-align: center;
/* Visual */
background-color: #f5f5f5;
border: 1px solid #e5e5e5;
border-radius: 3px;
/* Misc */
opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment