javascript - Increment width from right to left -
i want increment width right left.
<div dir="rtl" id="progress"> <dt id='dt'></dt> <dd id='dd'></dd> </div>
the main goal make progress bar move right left when use arabic language in website (default direction of arabic language right left).
i tried attribute dir
wrote, didn't fix problem. have idea, change html. that's not correct thing do, because website supports english & arabic; , don't want change html, want change style or javascript code.
you can mirror progress div, giving x scale of -1.
Comments
Post a Comment