Skip to content

Instantly share code, notes, and snippets.

@slode
Created January 18, 2017 07:49
Show Gist options
  • Select an option

  • Save slode/1b3f6257a13cd0157296da69b7a3d851 to your computer and use it in GitHub Desktop.

Select an option

Save slode/1b3f6257a13cd0157296da69b7a3d851 to your computer and use it in GitHub Desktop.

Revisions

  1. slode created this gist Jan 18, 2017.
    18 changes: 18 additions & 0 deletions decorated_hr.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    body {
    background: #fff;
    }
    hr.style-eight {
    padding: 0;
    border: none;
    border-top: 3px solid #000;
    text-align: center;
    margin: 30px 0;
    }
    hr.style-eight:after {
    content: url(img);
    display: inline-block;
    position: relative;
    top: -25px;
    padding: 0px 0.25em;
    background: #fff; /* match this with body bg */
    }