changeset 4:64bf53f0264d

css: add some style to main svg
author Jordi Gutiérrez Hermoso <jordi@ecometrica.com>
date Sat, 25 Aug 2018 15:54:22 -0400
parents 528f9ff42e9e
children a9ffd0bcc292
files splines.html splines.js
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/splines.html
+++ b/splines.html
@@ -42,6 +42,10 @@
          stroke: #ff7f0e;
      }
 
+     #splines {
+         border: 1px black solid;
+     }
+
     </style>
     <script src="d3.v3.min.js"></script>
     <script src="d3.slider.js"></script>
--- a/splines.js
+++ b/splines.js
@@ -27,6 +27,7 @@
 svg.append("rect")
     .attr("width", width)
     .attr("height", height)
+    .style("fill", "#EEEEEE")
     .on("mousedown", mousedown);
 
 svg.append("path")