<body>
默认:<input>
<br>
中文:<input style="ime-mode:active">
<br>
英文:<input style="ime-mode:disabled">
</body>
“ime-mode”用来设置输入法,其主要包括一下4个属性:
active代表输入法为中文;
inactive代表输入法为英文;
auto代表打开输入法;
disable代表关闭输人法。
如何通过css设置文本框默认输入法?
于 2019-09-29 09:48:16 首次发布