鼠标 not-allowed 样式,和 css3 point-events
来源:互联网 发布:java合并单元格某一列 编辑:程序博客网 时间:2024/06/11 06:33
- cursor: not-allowed;
- 设置改样式后,鼠标样式为 禁用图标;
- pointer-events: ;
- 值为auto的时候:
效果和没有定义pointer-events属性相同;鼠标不会穿透当前层。在SVG中,该值和visiblePainted的效果相同。
- 值为none的时候:
元素永远不会成为鼠标事件的target。但是,当其后代元素的pointer-events属性指定其他值时,鼠标事件可以指向后代元素,在这种情况下,鼠标事件将在捕获或冒泡阶触发父元素的事件侦听器。其他值只能应用在SVG上。
- 两者同时使用 ,鼠标样式则为 default;
例:div {
cursor: not-allowed;
pointer-events: none;
}
阅读全文
0 0
- 鼠标 not-allowed 样式,和 css3 point-events
- a dependency to an entry point is not allowed
- CSS3新的鼠标样式介绍
- CSS3新的鼠标样式介绍
- 文字 11种HTML5和CSS3炫酷文字样式和鼠标滑过特效
- 鼠标样式和自定义
- CSS3样式和新特性
- CSS3 pointer-events:none
- CSS3 pointer-events介绍
- css3 pointer-events: none;
- css3之pointer-events
- Method Not Allowed和Forbidden错误
- CSS 鼠标样式和手指样式
- CSS 鼠标样式和手指样式整理
- css3属性pointer-events介绍
- CSS3 pointer-events的应用
- css3的pointer-events属性
- CSS3——pointer-events
- 安卓studio导入framwork源码如何利用debug
- iOS weak和assign修饰OC对象的区别
- HTML5表单验证
- 自定义原生jsonp跨域请求
- javawebday20(绝对路径)
- 鼠标 not-allowed 样式,和 css3 point-events
- 欢迎使用CSDN-markdown编辑器
- linux 学习笔记六 lvm
- Machine learning of neural representations of suicide and emotion concepts identifies suicidal youth
- 值得程序员去学习的一些东西
- hdu-1171-Big Event in HDU(背包)
- 无题
- 数据结构——使用非递归方法后序遍历二叉树
- window /PE 各系统安装文件