Skip to content

Commit

Permalink
add title
Browse files Browse the repository at this point in the history
  • Loading branch information
vane0kravitz committed Dec 19, 2016
1 parent ffc06e2 commit 096f350
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
@import url('https://fonts.googleapis.com/css?family=Baloo+Thambi');

div {
width: 200px;
height: 200px;
background-color: #3B5998;
}

.main-text {
color: #00ff90;
position: absolute;
font-family: 'Baloo Thambi', cursive;
font-size: large;
padding-left: 1%;
bottom: 0;
}
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<title>d3</title>
<title>d3 dots example</title>
<link rel="stylesheet" href="css/style.css">
<style>
html, body { margin: 0; padding: 0; }
Expand All @@ -9,6 +9,7 @@
<script src="js/main.js"></script>
</head>
<body>
<span class="main-text">Tap to add more dots =)</span>
<canvas id="canvas"></canvas>
</body>
</html>
Expand Down

0 comments on commit 096f350

Please sign in to comment.