Anu*_*rma 8 html javascript css jquery html5
我用html在html中创建了一个框架
<frame></frame>
Run Code Online (Sandbox Code Playgroud)
标签.有没有办法可以在鼠标进入框架时更改鼠标指针.
Kit*_*its 11
这是光标的css.
尝试:
<frame style="cursor:auto"></frame>
Run Code Online (Sandbox Code Playgroud)
而不是auto你可以使用以下任何一个:
auto Default. The browser sets a cursor
crosshair The cursor render as a crosshair
default The default cursor
e-resize The cursor indicates that an edge of a box is to be moved right (east)
help The cursor indicates that help is available
move The cursor indicates something that should be moved
n-resize The cursor indicates that an edge of a box is to be moved up (north)
ne-resize The cursor indicates that an edge of a box is to be moved up and right (north/east)
nw-resize The cursor indicates that an edge of a box is to be moved up and left (north/west)
pointer The cursor render as a pointer
progress The cursor indicates that the program is busy (in progress)
s-resize The cursor indicates that an edge of a box is to be moved down (south)
se-resize The cursor indicates that an edge of a box is to be moved down and right (south/east)
sw-resize The cursor indicates that an edge of a box is to be moved down and left (south/west)
text The cursor indicates text
w-resize The cursor indicates that an edge of a box is to be moved left (west)
wait The cursor indicates that the program is busy
Run Code Online (Sandbox Code Playgroud)
使用光标 CSS属性
<style>
.mousePointer
{
cursor: pointer;
}
</style>
<frame class="mousePointer"></frame>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3857 次 |
| 最近记录: |