CSS改变textarea上的调整大小按钮的光标样式 [英] CSS to change the cursor style of the resize button on a textarea
问题描述
我注意到,当悬停和/或点击时,文本区域上的调整大小按钮保持为箭头。
I noticed that the resize button on my text area when hovered and/or clicked is staying as an arrow.
在我看来,它似乎应该是一个指针
It seems to me like it should be a pointer.
seeing as there is css to remove or add the resize tool to a textarea,
看到有css要删除或添加resize工具到textarea resize:none;
resize:none;
和css更改整个文本区域的光标,
and css to change the cursor of the whole textarea,
cursor:pointer;
但似乎应该有一个css参数来控制调整大小按钮的光标。我一直在环顾一点,似乎找不到属性,虽然。我可以想到在javascript或jquery中这样做的几种方法,但似乎过分。
but it seems like there should be a css parameter to control the cursor of just the resize button. I've been looking around a bit and can't seem to find the property though. I can think of a few ways to do this in javascript or jquery but seems like overkill.
所以有一种方法设置光标只是resize按钮的textarea via css?
So is there a way to set the cursor for just the resize button of a textarea via css?
推荐答案
这是由浏览器自身渲染的,不是HTML的一部分,因此不能通过CSS样式化。
This is rendered by the browser itself and is not part of HTML, therefore it cannot be styled via CSS.
这篇关于CSS改变textarea上的调整大小按钮的光标样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!