Skip to content

Instantly share code, notes, and snippets.

@Irene-24
Created November 27, 2020 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Irene-24/8a1e908f1b5bb95c8f3f2fe1cd0257e4 to your computer and use it in GitHub Desktop.
Save Irene-24/8a1e908f1b5bb95c8f3f2fe1cd0257e4 to your computer and use it in GitHub Desktop.
*
{
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