textarea-在x或y上禁用调整大小? [英] textarea - disable resize on x or y?
本文介绍了textarea-在x或y上禁用调整大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道可以通过以下方式禁用文本区域
的调整大小:
I know it's possible to disable the resize of a textarea
by using:
textarea {
resize: none;
}
但是可以禁用x或y吗?
But is it possible to disable either x or y? instead of both
推荐答案
resize: vertical;
或
resize: horizontal;
快速拨弄: http://jsfiddle.net/LLrh7Lte/
这篇关于textarea-在x或y上禁用调整大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文