Skip to content

Instantly share code, notes, and snippets.

@kriszyp
Created February 4, 2011 16:34
Show Gist options
  • Save kriszyp/811324 to your computer and use it in GitHub Desktop.
Save kriszyp/811324 to your computer and use it in GitHub Desktop.
CSS template
{
"cars": [
{"make": "Honda", "model": "Accord"},
{"make": "Ford", "model": "Taurus"},
]
}
@ul {
border: 1px;
border-radius: 5px;
@li cars {
padding: 5px;
@span make {
color: blue;
}
@span model {
color: black;
}
}
}
@dvv
Copy link

dvv commented Feb 4, 2011

Neat! Shouldn't it also have syntax to get higher outa the current context, say ../, and for drill-down

@schorsch
Copy link

schorsch commented Feb 6, 2011

Just trying to build a schema browser for https://github.com/salesking/sk_api_schema, this would come really handy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment