Overflow to left instead of right

后端 未结 6 1547
梦毁少年i
梦毁少年i 2020-11-27 04:15

I have a div with overflow:hidden, inside which I show a phone number as the user types it. The text inside the div is aligned to right and incoming characters

6条回答
  •  孤街浪徒
    2020-11-27 04:41

    Have you tried using the following:

    direction: rtl;
    

    For more information see
    http://www.w3schools.com/cssref/pr_text_direction.asp

提交回复
热议问题