Skip to content

Instantly share code, notes, and snippets.

@redmile
redmile / dabblet.css
Created November 30, 2012 15:19 — forked from anonymous/dabblet.css
Example: double mixed underline
/**
* Example: double mixed underline
*/
span {
position: relative;
float: left;
padding: 0 10px;
border-bottom: solid 1px;
}
@redmile
redmile / dabblet.css
Created November 30, 2012 14:57 — forked from anonymous/dabblet.css
Example: double mixed underline
/**
* Example: double mixed underline
*/
ul li {list-style:none;float:left;}
ul.prova li:after {
content: '//';
padding:0 5px;
color:grey;
}
@redmile
redmile / gist:3845663
Created October 6, 2012 18:08 — forked from croxton/gist:1790604
Switchee devot:ee
{exp:switchee variable="{segment_1}/{segment_2}/{segment_3}" parse="inward"}
{case value = "//"}
{!-- s1, s2 and s3 are empty - Show home page --}
{embed="site/_home"}
{/case}
{case value="#^products/\S+/\S+$#"}
{!-- s1 is 'products', s2 and s3 are not empty - Show single products --}
{embed="site/_product"}