mirror of
https://github.com/bendtherules/line_chart_demo.git
synced 2026-08-19 00:32:52 +00:00
34 lines
453 B
CSS
34 lines
453 B
CSS
head,body
|
|
{
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body
|
|
{
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
.chart-container
|
|
{
|
|
position: absolute;
|
|
width: 50%;
|
|
height: 50%;
|
|
|
|
left: 50%;
|
|
top: 50%;
|
|
|
|
-webkit-transform: translate(-50%, -50%);
|
|
-ms-transform: translate(-50%, -50%);
|
|
-o-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
}
|
|
|
|
line-chart
|
|
{
|
|
|
|
} |