Skip to content

Instantly share code, notes, and snippets.

@rakeshjuyal
Created February 10, 2013 08:23
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 rakeshjuyal/4748875 to your computer and use it in GitHub Desktop.
Save rakeshjuyal/4748875 to your computer and use it in GitHub Desktop.
Nice Horizontal rule <hr/>
hr1{
height: 3px;
border: 0px;
background: -webkit-linear-gradient(left, fff, 000, fff );
}
hr.hr2{
height: 1px;
border: 0px;
background: -webkit-linear-gradient(left, fff, bbb, fff );
}
hr.hr3{
height: 2px;
border: 0px;
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(242,242,242,0.4)), color-stop(12%,rgba(229,229,229,0.4)), color-stop(50%,rgba(188,188,188,0.98)), color-stop(51%,rgba(189,189,189,1)), color-stop(85%,rgba(226,226,226,0.4)), color-stop(100%,rgba(242,242,242,0.4))); /* Chrome,Safari4+ */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment