Skip to content

Instantly share code, notes, and snippets.

@jensgro
Last active December 29, 2015 19:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jensgro/7719515 to your computer and use it in GitHub Desktop.
Save jensgro/7719515 to your computer and use it in GitHub Desktop.
Emmet-Kurzschreibung für Grids und Spalten von YAML
/*========= Columns =================== */
/* col1 / col2 / col3 */
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col2>.ym-cbox)+(.ym-col3>.ym-cbox-right>.ym-ie-clearing)
/* col1 / col3 / col2 */
.ym-column>(.ym-col1>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col2>.ym-cbox-right)
/* col2 / col3 / col1 */
.ym-column>(.ym-col2>.ym-cbox-left)+(.ym-col3>.ym-cbox>.ym-ie-clearing)+(.ym-col1>.ym-cbox-right)
/* col2 / col1 / col3 */
.ym-column>(.ym-col2>.ym-cbox-left)+(.ym-col1>.ym-cbox)+(.ym-col3>.ym-cbox-right>.ym-ie-clearing)
/*========= Grids =================== */
/*20/80 80/20 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g80.ym-gr>.ym-gbox-right)
.ym-grid>(.ym-g80.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gr>.ym-gbox-right)
/*40/60 60/40 */
.ym-grid>(.ym-g40.ym-gl>.ym-gbox-left)+(.ym-g60.ym-gr>.ym-gbox-right)
.ym-grid>(.ym-g60.ym-gl>.ym-gbox-left)+(.ym-g40.ym-gr>.ym-gbox-right)
/* 25/25/25/25*/
.ym-grid>(.ym-g25.ym-gl>.ym-gbox-left)+(.ym-g25.ym-gl>.ym-gbox)*2+(.ym-g25.ym-gr>.ym-gbox-right)
/* 33/33/33 */
.ym-grid>(.ym-g33.ym-gl>.ym-gbox-left)+(.ym-g33.ym-gl>.ym-gbox)+(.ym-g33.ym-gr>.ym-gbox-right)
/* 50/50 */
.ym-grid>(.ym-g50.ym-gl>.ym-gbox-left)+(.ym-g50.ym-gr>.ym-gbox-right)
/* 33/66 66/33 */
.ym-grid>(.ym-g33.ym-gl>.ym-gbox-left)+(.ym-g66.ym-gr>.ym-gbox-right)
.ym-grid>(.ym-g66.ym-gl>.ym-gbox-left)+(.ym-g33.ym-gr>.ym-gbox-right)
/* 25/75 75/25 */
.ym-grid>(.ym-g25.ym-gl>.ym-gbox-left)+(.ym-g75.ym-gr>.ym-gbox-right)
.ym-grid>(.ym-g75.ym-gl>.ym-gbox-left)+(.ym-g25.ym-gr>.ym-gbox-right)
/* 38/62 62/38 */
.ym-grid>(.ym-g38.ym-gl>.ym-gbox-left)+(.ym-g62.ym-gr>.ym-gbox-right)
.ym-grid>(.ym-g62.ym-gl>.ym-gbox-left)+(.ym-g38.ym-gr>.ym-gbox-right)
/* 25/50/25 */
.ym-grid>(.ym-g25.ym-gl>.ym-gbox-left)+(.ym-g50.ym-gl>.ym-gbox)+(.ym-g25.ym-gr>.ym-gbox-right)
/* 25/25/50 */
.ym-grid>(.ym-g25.ym-gl>.ym-gbox-left)+(.ym-g25.ym-gl>.ym-gbox)+(.ym-g50.ym-gr>.ym-gbox-right)
/* 50/25/25 */
.ym-grid>(.ym-g50.ym-gl>.ym-gbox-left)+(.ym-g25.ym-gl>.ym-gbox)+(.ym-g25.ym-gr>.ym-gbox-right)
/* 20/60/20 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g60.ym-gl>.ym-gbox)+(.ym-g20.ym-gr>.ym-gbox-right)
/* 20/20/60 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gl>.ym-gbox)+(.ym-g60.ym-gr>.ym-gbox-right)
/* 60/20/20 */
.ym-grid>(.ym-g60.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gl>.ym-gbox)+(.ym-g20.ym-gr>.ym-gbox-right)
/* 40/20/20/20 */
.ym-grid>(.ym-g40.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gl>.ym-gbox)*2+(.ym-g20.ym-gr>.ym-gbox-right)
/* 20/40/20/20 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g40.ym-gl>.ym-gbox)+(.ym-g20.ym-gl>.ym-gbox)+(.ym-g20.ym-gr>.ym-gbox-right)
/* 20/20/40/20 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gl>.ym-gbox)+(.ym-g40.ym-gl>.ym-gbox)+(.ym-g20.ym-gr>.ym-gbox-right)
/* 20/20/20/40 */
.ym-grid>(.ym-g20.ym-gl>.ym-gbox-left)+(.ym-g20.ym-gl>.ym-gbox)*2+(.ym-g40.ym-gr>.ym-gbox-right)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment