Skip to content

Instantly share code, notes, and snippets.

@enjalot
Last active September 17, 2015 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/a5df8dc94786a27d6420 to your computer and use it in GitHub Desktop.
Save enjalot/a5df8dc94786a27d6420 to your computer and use it in GitHub Desktop.
datasana #1
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script>
</head>
<style>
body {
position: fixed;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
}
</style>
<body style="margin:0;width:100%;height:100%">
<svg width=100% height=100%>
<rect x=50 y=50 width=100 height=233 fill-opacity=0.5></rect>
<path
d="M400,400L405,343L500,190L550,450Z"
fill="orange"
stroke="#000"
stroke-width=5
></path>
<circle r=5 cx=500 cy=95 fill="#00ffbb" stroke="#007000"></circle>
</svg>
<div style="width:100px;height:100px;background-color:orange;position:absolute;top:44px;left:220px;border:1px solid black">
asdfasdfsdf
</div>
<script>
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment