Как уменьшить количество чезахерня/час в CSS. 6 слайдов с CSS и всего одна смешная картинка.
Василий Половнёв, Flatstack
<div class="axis"><span class="point point--scored_3">3</span></div>
.axis {position: relative;height: 20px;width: 200px;}
.point {position: absolute;left: 0;height: 20px;width: 20px;margin-left: -10px;border-radius: 100%;line-height: 20px;text-align: center;}
.point--scored_3 {left: 60px;}
20 200 -10 60$point-diameter: 20px;$max-point-count: 10;.axis {position: relative;height: $point-diameter;width: $max-point-count * $point-diameter;}
.point {position: absolute;left: 0;height: $point-diameter;width: $point-diameter;margin-left: -($point-diameter / 2);border-radius: 100%;line-height: $point-diameter;text-align: center;}
.point--scored_3 {left: 3 * $point-diameter;}