Skip to content

Instantly share code, notes, and snippets.

@rob-bar
Last active October 11, 2015 01:38
Show Gist options
  • Save rob-bar/3782643 to your computer and use it in GitHub Desktop.
Save rob-bar/3782643 to your computer and use it in GitHub Desktop.
less variable names, mixins and ordening
/* -- LESS VARIABLE NAMES -- */
@color_red: #F00;
@color_green: #0F0;
/* -- LESS MIXINS -- */
.ownmixin(@par: 10px) {
margin: 2px @par;
}
/* -- SUGESTED ORDENING -- */
.ordening {
display: ;
z-index: ;
float: ; /* BEHAVIOUR */
positon: ;
left: ;
top: ; /* COORDS */
width: ;
height: ; /* DIMENTIONS */
margin: ;
padding: ;
border: ; /* BOX */
textrelated: ; /* TEXT */
color: ;
background: ; /* COLORS */
other: ; /* OTHERS */
/* SPACE HERE */
prefixed: ; /* BROWSER PREFIXED */
/* SPACE HERE */
.mixing(); /* LESS MIXINS */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment