Skip to content

Instantly share code, notes, and snippets.

Created May 28, 2014 17:15
Show Gist options
  • Save anonymous/4ba19a644f0dc90dcbd2 to your computer and use it in GitHub Desktop.
Save anonymous/4ba19a644f0dc90dcbd2 to your computer and use it in GitHub Desktop.
svg {
border: 1px solid
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" height="800" width="600" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink">
<g font-family="DejaVu Sans" font-weight="bold">
<g font-size="50px">
<text class="title" text-anchor="middle" x="300" y="90">Tracker PV</text>
<text class="title" text-anchor="middle" x="300" y="490">Tracker CPV</text>
</g>
<g font-size="160px">
<text class="value" text-anchor="middle" x="300" y="280">TR1_VALUE</text>
<text class="value" text-anchor="middle" x="300" y="680">TR2_VALUE</text>
</g>
</g>
<rect class="separator" width="600" height="8" x="0" y="400" />
</svg>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment