Created
August 17, 2018 18:24
-
-
Save AleksueiR/28c09685add95a10dfa6f2fc51caebce to your computer and use it in GitHub Desktop.
JS Bin SVG in IE11 // source https://jsbin.com/xoyunut
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="SVG in IE11"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/svg.js/2.5.0/svg.js"></script> | |
</head> | |
<body> | |
<div id="drawing"></div> | |
<script id="jsbin-javascript"> | |
var draw = SVG('drawing').size(500, 130) | |
var image = draw.image('https://rawgit.com/RanzQ/c1337d79f1943e91fc0832423ff16c3b/raw/bfdc19718070ed5e57ad578e73fc09b43967e5e5/bunny.svg') | |
image.size(100, 100).move(20, 20) | |
</script> | |
<script id="jsbin-source-html" type="text/html"><!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="SVG in IE11"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/svg.js/2.5.0/svg.js"><\/script> | |
</head> | |
<body> | |
<div id="drawing"></div> | |
</body> | |
</html></script> | |
<script id="jsbin-source-javascript" type="text/javascript">var draw = SVG('drawing').size(500, 130) | |
var image = draw.image('https://rawgit.com/RanzQ/c1337d79f1943e91fc0832423ff16c3b/raw/bfdc19718070ed5e57ad578e73fc09b43967e5e5/bunny.svg') | |
image.size(100, 100).move(20, 20)</script></body> | |
</html> |
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
var draw = SVG('drawing').size(500, 130) | |
var image = draw.image('https://rawgit.com/RanzQ/c1337d79f1943e91fc0832423ff16c3b/raw/bfdc19718070ed5e57ad578e73fc09b43967e5e5/bunny.svg') | |
image.size(100, 100).move(20, 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment