Use endsWithAnyOf: instead of iterating over suffixes in css size classification.