MohammadYounes / rtlcss

Framework for transforming Cascading Style Sheets (CSS) from Left-To-Right (LTR) to Right-To-Left (RTL)
https://rtlcss.com
MIT License
1.68k stars 129 forks source link

background-position: #299

Closed Jiroun closed 2 years ago

Jiroun commented 2 years ago

Before RTL: .iti-flag.ae { height: 10px; background-position: -44px 0; }

after RTL: .iti-flag.ae { height: 10px; background-position: right -44px top 0; }

this is couase a problem in flags as all flags in One Picture just this number -44px specify the correct flag

MohammadYounes commented 2 years ago

You can use a control directive to ignore flipping this value.

See https://rtlcss.com/learn/usage-guide/control-directives/#Ignore

Jiroun commented 2 years ago

I solved the problem by using old ver of the library