简体   繁体   中英

how i can reverse transform in css dynamically by js

just i bought a wordpress theme and i make some changes to get a proper experience, so when i turned to body{direction: rtl;} it appears like this enter image description here

so, with 5 hours search about this i found it but i can't handle with the problem this is the file who can't know what's to do

so when i edit this from wordpress css editor... it's still like this when i open side menu notice that in developer tools and this when i close it... enter image description here So what's the problem?

Try to transform: translate(-100%, 0) to completely translate the sidebar out of the screen on x dimention.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM