Classes of sm, md and lg should apply with the correct media breakpoints