@builder.io/qwik
Version:
An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.
28 lines (24 loc) • 342 B
CSS
.wrapper {
position: relative;
}
.gauge {
width: 160px;
}
.value {
position: absolute;
top: 50%;
left: 50%;
color: white;
font-size: 3rem;
transform: translate(-50%, -50%);
width: 200px;
text-align: center;
}
@media screen and (min-width: 768px) {
.gauge {
width: 400px;
}
.value {
font-size: 7rem;
}
}