Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/radial.html')
-rw-r--r--public/radial.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/public/radial.html b/public/radial.html
new file mode 100644
index 0000000..8ee5ac9
--- /dev/null
+++ b/public/radial.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ polygon {
+ fill: none;
+ stroke: black;
+ stroke-width: 0.5px;
+ }
+
+ svg {
+ border: 1px solid slategray;
+ }
+
+ text {
+ font-size: 4px;
+ text-anchor: middle;
+ user-select: none;
+ font-family: sans-serif;
+ }
+ </style>
+ </head>
+ <body>
+ <svg viewBox="-150 -100 300 200" xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <polygon id="hex" points="0,10 8.66,5 8.66,-5 0,-10 -8.66,-5 -8.66,5"/>
+ </defs>
+ </svg>
+ <script src="radial.js"></script>
+ </body>
+</html>