.__rs{ & > div{ width: 25px; height: 25px; margin: 0 0.25rem; } } @media screen and (min-width: 768px) { .__rs{ margin: auto; & > div{ margin: 0 auto 0.5rem auto; } } }