Created
June 27, 2010 22:39
-
-
Save subtleGradient/455227 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 style='background-image: url(' data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg"><rect fill="#F00" width="100%" height="100%" rx="100%"/></svg> ');padding: 2em;display: inline-block;text-align: center;'> | |
| I haz a circular! | |
| </div> |
Author
Author
(Working example)[http://jsfiddle.net/mkk2X/]
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
'to keep from having to escape all the quotes in the SVG. This allows for copy & pastable SVG into yer CSS!I have no idea what browsers can actually read this.