Skip to content

Instantly share code, notes, and snippets.

@chrisdpeters
Created August 14, 2014 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisdpeters/e439842953716d2d10f2 to your computer and use it in GitHub Desktop.
Save chrisdpeters/e439842953716d2d10f2 to your computer and use it in GitHub Desktop.
Responsive breadcrumbs for ZURB Foundation 5
.breadcrumbs {
@include crumb-container;
background: none;
border: 0;
margin: 0;
padding: rem-calc(3);
li {
display: none;
&:last-child {
@include crumbs;
display: block;
font-size: rem-calc(13);
&:before {
content: "\00AB" !important;
margin: 0;
position: relative;
top: rem-calc(-1);
}
}
@media #{$medium-up} {
@include crumbs;
display: block;
&:before {
content: "";
margin: 0;
}
&:after {
content: "#{$crumb-slash}";
color: $crumb-slash-color;
margin: 0 $crumb-side-padding;
position: relative;
top: rem-calc(1);
}
&:last-child {
font-size: $crumb-font-size;
&:before {
content: "" !important;
margin: 0;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment