Created
April 11, 2015 14:35
-
-
Save taivare/fe069cd85a1a57054c6f to your computer and use it in GitHub Desktop.
SVG mime support // source http://jsbin.com/kuhox
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>SVG mime support</title> | |
<style id="jsbin-css"> | |
img { | |
width:300px; | |
display:block | |
} | |
div { | |
background:url('http://jsbin.com/vutix/1.svg'); | |
width:300px; | |
height:300px; | |
} | |
object { | |
display:block; | |
width:300px; | |
} | |
</style> | |
</head> | |
<body> | |
img - noice | |
<img src="http://jsbin.com/vutix/1.svg"/> | |
<hr> | |
div - sweet | |
<div></div> | |
<hr> | |
object - can only been seen in <a href="http://jsbin.com/kuhox/1" target="_blank">full output...</a> hmm :/ | |
If you click this link you won't see it, but if you manually navigate to http://jsbin.com/kuhox/1 it should be cool | |
<object data="http://jsbin.com/vutix/1.svg" type="image/svg+xml">Err:</object> | |
<script id="jsbin-source-css" type="text/css">img { | |
width:300px; | |
display:block | |
} | |
div { | |
background:url('http://jsbin.com/vutix/1.svg'); | |
width:300px; | |
height:300px; | |
} | |
object { | |
display:block; | |
width:300px; | |
}</script> | |
</body> | |
</html> |
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
img { | |
width:300px; | |
display:block | |
} | |
div { | |
background:url('http://jsbin.com/vutix/1.svg'); | |
width:300px; | |
height:300px; | |
} | |
object { | |
display:block; | |
width:300px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment