Skip to content

Instantly share code, notes, and snippets.

@imevro
Created October 5, 2012 03:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save imevro/3837920 to your computer and use it in GitHub Desktop.
Save imevro/3837920 to your computer and use it in GitHub Desktop.
hr {
border: 0;
height: 1px;
background-image: linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -o-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -moz-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -webkit-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -ms-linear-gradient(left , rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
background-image: -webkit-gradient(
linear,
left bottom,
right bottom,
color-stop(0, rgba(0, 0, 0, 0.1)),
color-stop(0.5, rgba(0, 0, 0, 0.3)),
color-stop(1.0, rgba(0, 0, 0, 0.1))
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment