Skip to content

Instantly share code, notes, and snippets.

@jessegavin
Created September 20, 2013 17:22
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 jessegavin/6640853 to your computer and use it in GitHub Desktop.
Save jessegavin/6640853 to your computer and use it in GitHub Desktop.
A Pen by Jesse Gavin.
<span data-delimiter=" | ">An Item</span>
<span data-delimiter=" | ">'Nother One</span>
<span data-delimiter=" | ">More of the Same</span>
<span data-delimiter=" | ">Last One</span>
[data-delimiter]:not(:first-child):before {
content: attr(data-delimiter);
}
body {
text-align: center;
padding: 50px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment