Created
April 9, 2014 02:30
-
-
Save srm/10220646 to your computer and use it in GitHub Desktop.
Better HR tag with CSS radial gradients
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { margin: 30px; } | |
hr { | |
border: none; | |
border-top: 1px solid #eee; | |
height: 5px; | |
background: -webkit-radial-gradient(50% 0%, 50% 5px, #aaa 0%, white 100%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment