This improve greatly the performance and the code cleaning. It allows us to separate the inseparable class methods into modules functions
24 lines
No EOL
361 B
SCSS
24 lines
No EOL
361 B
SCSS
|
|
svg {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
text {
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
fill: none;
|
|
fill-opacity: 0;
|
|
stroke: #000000;
|
|
stroke-width: 1px;
|
|
stroke-linecap: butt;
|
|
stroke-linejoin: miter;
|
|
stroke-opacity: 1;
|
|
transform: translateX(-50%);
|
|
transform-box: fill-box;
|
|
}
|
|
|
|
@keyframes fadein {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
} |