Skip to content

Instantly share code, notes, and snippets.

@josefrichter
Created December 20, 2011 23:06
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 josefrichter/1503722 to your computer and use it in GitHub Desktop.
Save josefrichter/1503722 to your computer and use it in GitHub Desktop.
needed a border that doesn't start at the very top of a div
/* needed a border that doesn't start at the very top of a div */
/* the start position is set via background-position */
background-image:-moz-radial-gradient(#686868, #686868 100000px);
background-image:-webkit-radial-gradient(#686868, #686868 100000px);
background-image:radial-gradient(#686868, #686868 100000px);
background-position:100px 80px;
background-size:1px 100000px;
background-repeat:no-repeat;
<!-- content to be placed inside <body>…</body> -->
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment