I want to input in a text box in reverse order Like a Urdu language.Is any input
property to do it or any code?
direction:rtl; only start from end but the input text is at it is.It does'nt reverse
looking in the textbox.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Just use simple CSS
input[type=text] {
text-align: right;
}
Demo
Updated:
input[type=text] {
direction: rtl;
unicode-bidi: bidi-override;
}