Skip to content

Instantly share code, notes, and snippets.

@DanielWright
Created January 22, 2013 20:34
Show Gist options
  • Save DanielWright/4598151 to your computer and use it in GitHub Desktop.
Save DanielWright/4598151 to your computer and use it in GitHub Desktop.
fancy-horizontal-rule Sass mixin
@mixin fancy-horizontal-rule($background)
@include reset-box-model
@include background(image-url($background) center center no-repeat)
border-width: 0 0 0 0
margin: 10px 0
height: image-height($background)
width: 100%
*display: list-item
*filter: alpha(opacity=0)
*list-style: image-url($background) inside
*width: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment