在 Bootstrap 中,为什么我不能将光标自定义为 html 元素?
In Bootstrap, why can't I customize my cursor to an html element?
我这里有一个 JS fiddle:
当我将鼠标移到按钮上时,我因此得到一个箭头 CSS:
#btnL:hover {
cursor: initial;
}
我在 table 标题中尝试了相同的 CSS,
#tableHeading:hover {
cursor: initial;
}
但是我得到的是文本光标而不是箭头。
当我将鼠标悬停在 table 标题上时,如何获得箭头?
如果你也需要那里的箭头,请尝试下面的方法。
#tableHeading:hover {
cursor: default;
}
我这里有一个 JS fiddle:
当我将鼠标移到按钮上时,我因此得到一个箭头 CSS:
#btnL:hover {
cursor: initial;
}
我在 table 标题中尝试了相同的 CSS,
#tableHeading:hover {
cursor: initial;
}
但是我得到的是文本光标而不是箭头。
当我将鼠标悬停在 table 标题上时,如何获得箭头?
如果你也需要那里的箭头,请尝试下面的方法。
#tableHeading:hover {
cursor: default;
}