Skip to content

Instantly share code, notes, and snippets.

@fotan
Last active August 29, 2015 14:20
Show Gist options
  • Save fotan/c1c259f3c55727080235 to your computer and use it in GitHub Desktop.
Save fotan/c1c259f3c55727080235 to your computer and use it in GitHub Desktop.
hr {
     width: 95%;
     border: 1px solid $mid-green; /* Some browser */
     background: $mid-green; /* Some other browser */
     color: $mid-green; /* IE */
}
hr:after {
    background: url('../images/hr.png') no-repeat top left;
    content: "";
    display: block;
    height: 20px; /* height of the ornament */
    position: relative;
    top: -20px; /* half the height of the ornament */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment