Right to left Text HTML input

前端 未结 8 2271
名媛妹妹
名媛妹妹 2020-11-27 18:37

For my website, i need to provide arabic support. Part of it is to provide input textboxes where when user types in, the new characters have to be appended to the left and t

8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-27 19:31

    Use on the input in css.

    input {
      unicode-bidi:bidi-override;
      direction: RTL;
    }
    

提交回复
热议问题