.icon { background-position: center; background-repeat: no-repeat; background-size: cover; &--medium { width: 40px; height: 40px; } }