Last active
July 27, 2016 19:41
-
-
Save jasonsee/c64b8356ccde251501f5e78428af16e7 to your computer and use it in GitHub Desktop.
CSS Property Order
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.selector { | |
/* Preprocessor variables */ | |
@box-size(20px); | |
@graident(@main_blue, 2px); | |
/* Display & Box Model */ | |
display: inline-block; | |
overflow: hidden; | |
box-sizing: border-box; | |
width: 100px; | |
height: 100px; | |
padding: 10px; | |
margin: 10px; | |
/* Positioning */ | |
position: absolute; | |
z-index: 10; | |
top: 0; | |
right: 0; | |
/* Color */ | |
background: #000; | |
color: #fff | |
/* Text */ | |
font-family: sans-serif; | |
font-size: 16px; | |
line-height: 1.4; | |
text-align: right; | |
/* Background */ | |
background-image: url(/static/img/icon/bullet.png); | |
border: 10px solid #333; | |
/* Radius */ | |
border-radius: 2px 2px 0px 0px; | |
text-shadow: 1px 1px #333; | |
/* Other & Vendor Prefixes */ | |
cursor: pointer; | |
-webkit-box-shadow: inset 0 0 1px 1px #eee; | |
-moz-box-shadow: inset 0 0 1px 1px #eee; | |
box-shadow: inset 0 0 1px 1px #eee; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Property Order