Created
July 29, 2013 21:05
-
-
Save zakdances/6107825 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.svgbox { | |
width: 160px; | |
height: 160px; | |
background-color: #eee; | |
position: relative; | |
left: 100px; | |
} | |
background: #f06; | |
background: linear-gradient(45deg, #fff, #eee); | |
min-height: 100%; |
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
<div class="svgbox"> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<path id="textPath" d="M 10 80 a 70,70 0 1,1 140,0 a 70,70 0 1,1 -140,0 z" fill="red"></path> | |
<text x="0", y="0"> | |
<textPath xlink:href="#textPath" textLength="205" startOffset="0%">photo photo photo photo</textPath> | |
</text> | |
</svg> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"separate","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