Skip to content

Instantly share code, notes, and snippets.

@kapsakcj
Last active July 21, 2016 19:02
Show Gist options
  • Save kapsakcj/d6bafd4acc011bc450eac0d9828537e7 to your computer and use it in GitHub Desktop.
Save kapsakcj/d6bafd4acc011bc450eac0d9828537e7 to your computer and use it in GitHub Desktop.
(Almost) 'Mericuh flag - SVG
license: gpl-3.0
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<style>
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; }
</style>
</head>
<body>
<svg width="500" height="600">
<rect x="0" y="0" width="400" height="15" fill="red" />
<rect x="0" y="15" width="400" height="25" fill="white" />
<rect x="0" y="30" width="400" height="25" fill="red" />
<rect x="0" y="45" width="400" height="25" fill="white" />
<rect x="0" y="60" width="400" height="25" fill="red" />
<rect x="0" y="75" width="400" height="25" fill="white" />
<rect x="0" y="90" width="400" height="15" fill="red" />
<rect x="0" y="105" width="400" height="25" fill="white" />
<rect x="0" y="120" width="400" height="25" fill="red" />
<rect x="0" y="135" width="400" height="25" fill="white" />
<rect x="0" y="150" width="400" height="25" fill="red" />
<rect x="0" y="165" width="400" height="25" fill="white" />
<rect x="0" y="180" width="400" height="15" fill="red" />
<rect x="0" y="0" width="141.14" height="105" fill="blue" />
<polygon x="0" y="195" width="100" height="105" fill="green" />
</svg>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment