@select-prefix-cls: ~'@{ant-prefix}-select'; .@{select-prefix-cls} { &-rtl { direction: rtl; } &-dropdown { &-rtl { direction: rtl; } } }