html - 占位符新行不适用于移动设备
问题描述
我有一个textarea
不会在移动设备上断线的,只能在桌面上使用
<textarea class="fontRoundedLight" rows="15" cols="20" maximum-scale=1 placeholder="one line more text and more and more."></textarea>
我iPhone Safari
会看到只有在没有空间时才会中断的行,而不是在我要求时才中断。
解决方案
推荐阅读
- dynamics-crm - PowerAutomate 中的 DateDiff() 函数:它在哪里?
- javascript - 切换按钮似乎不起作用?
- c# - RadGrid - 如果多个数据库列中的值不为空,则在单元格中输入值
- mysql - 在同一个数据库中的多个表上运行选择查询
- python - 关于线程和异步的 Tkinter 困境
- netlogo - 如果要求面贴,海龟会卡在贴上
- javascript - Javascript 代码未使用 page.js 在我网站的一页上执行
- python - 如何在另一个 jupyter notebook 中导入另一个 jupyter notebook 的功能?
- scala - 提取项目结构永远运行
- angular - rxjs 如何观察未完成的可观察对象集合