Created
November 27, 2020 04:45
-
-
Save Irene-24/8a1e908f1b5bb95c8f3f2fe1cd0257e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
{ | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
.chart | |
{ | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
position: relative; | |
} | |
.tooltip | |
{ | |
position: fixed; | |
transition: all; | |
background-color: coral; | |
padding: 5px; | |
border-radius: 5px; | |
opacity: 0; | |
} | |
.chart svg | |
{ | |
border: 1px solid #000; | |
} | |
.levels path | |
{ | |
fill: none; | |
stroke: #000; | |
} | |
.grid-lines path | |
{ | |
stroke: coral; | |
} | |
.tick-lines path | |
{ | |
stroke: rgb(228, 16, 16); | |
stroke-width: 2px; | |
} | |
.indic | |
{ | |
fill: rgb(70, 219, 32); | |
} | |
.shape path | |
{ | |
stroke: cyan; | |
fill: rgba(238, 93, 238, 0.466); | |
} | |
.chart circle | |
{ | |
cursor: pointer; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment