如何删除
I'm trying to remove dots in a <textarea>
which are present at the bottom-right corner.
Here's an example of what I mean (from Chrome):
How to remove those diagonal lines?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
只需在您的
CSS
文件中添加稍后(2019)编辑:
与我的这个答案以及应用于
textarea
元素的resize: none
声明相关的 GitHub 代码搜索结果数量不断增加,我写了一些行来解释为什么我认为 CSS resize nonetextarea
对用户体验不利:因此,在将上述内容添加到样式表之前,您可能需要检查一下。
Just add in your
CSS
fileLater (2019) edit:
Related to this answer of mine and the rising number of GitHub code search results on
resize: none
declarations applied totextarea
elements, I wrote some lines on why I think CSS resize none ontextarea
is bad for UX:So you might want to check this out before adding the above to your stylesheets.
就像下面的代码一样简单。只需给文本区域设置样式
resize: none
It is as simple as the following code. Just give the textarea the style
resize: none
html
sass
html
sass