http://v3.bootcss.com/components/#input-groups
这里提到:
避免使用 <textarea> 元素,由于它们的 rows 属性在某些情况下不被支持。
那么,多行输入用什么比较好呢?
我只想说:中文网那翻译像屎一样,误人子弟
原文是这样的:
Avoid using <textarea> elements here as their rows attribute will not be respected in some cases.
via http://getbootstrap.com/components/#input-groups
那个 here 被吃掉了吗?少了这个词意思完全不一样了好吗!
官方的意见是:
避免在 这里(Input groups) 使用
<textarea>
,由于它们的rows
属性在某些情况下不被支持。
就是说他们并不是完全否定textarea
,只是不建议用在 Input groups 中罢了。