就业培训     下载中心     Wiki     联络
登录   注册

Log
  1. 首页
  2. SVG:可伸缩向量图形
  3. SVG Attribute reference
  4. cursor

内容表

  • Usage context
  • Elements
  • 浏览器兼容性
  • 另请参阅

cursor

«  SVG Attribute reference home

The  cursor  attribute specifies the mouse cursor displayed when the mouse pointer is over an element.

This attribute behaves exactly like the  css cursor  property except that if the browser supports the <cursor> element, you should be able to use it with the  <funciri>  notation.

As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet, see css cursor 了解进一步信息。

Usage context

类别 Presentation attribute
值 [[ <funciri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ]] | inherit
Animatable Yes
Normative document SVG 1.1 (2nd Edition)

Elements

The following elements can use the  cursor  attribute

  • Container elements  »
  • Graphics elements  »

浏览器兼容性

BCD tables only load in the browser

另请参阅

  • css cursor

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide .

最后修改: Sep 23, 2021 , 由 MDN 贡献者

版权所有  © 2014-2026 乐数软件    

工业和信息化部: 粤ICP备14079481号-1