hudmarkers { position: absolute; width: 100%; height: 100%; } hudmarker { position: absolute; transform: translateX( -50% ); transition: width 0.1s linear, height 0.1s linear, opacity 0.05s linear, border 0.1s linear, border-radius 0.2s linear, transform 0.05s linear; label { font-family: Teko-SemiBold; font-size: 16px; color: white; } &:intro { opacity: 0; } &:outro { opacity: 0; } &.player { label { font-family: "Material Icons"; font-size: 64px; color: greenyellow; } } }