Skip to content

Instantly share code, notes, and snippets.

@shepazu
Created January 10, 2013 22:24
Show Gist options
  • Save shepazu/4506341 to your computer and use it in GitHub Desktop.
Save shepazu/4506341 to your computer and use it in GitHub Desktop.
Links
/**
* Links
*/
body {
background: #FFDEDB;
}
a {
display: inline-block;
padding: .3em 1em;
background: #e2887a;
background-image: linear-gradient(300deg, #FFDEDB .5em, hsla(5, 100%, 93%, 0) .6em),
linear-gradient(240deg, #FFDEDB .5em, hsla(5, 100%, 93%, 0) .6em),
linear-gradient(60deg, #FFDEDB .5em, hsla(5, 100%, 93%, 0) .6em),
linear-gradient(120deg, #FFDEDB .5em, hsla(5, 100%, 93%, 0) .6em);
background-position: bottom right, top right, top left, bottom left;
background-size: 1.5em 50%;
background-repeat: no-repeat;
color: white;
}
a:hover {
background-color: #973a2c;
}
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>TOP SVG</title>
<circle cx="120" cy="100" r="10"/>
<rect width="100" height="100">
<title>TEST</title>
</rect>
</svg>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment