首页 前端知识 【html css3 js】 鼠标悬停控件改变鼠标样式

【html css3 js】 鼠标悬停控件改变鼠标样式

2024-09-21 21:09:36 前端知识 前端哥 222 124 我要收藏

看了原文链接 

 记一下方便自己之后使用

常用的鼠标指针样式及cursor对应的属性

在这里插入图片描述

1.单引用 直接在控件的style里写

<label style="cursor: pointer;">
aa
</label>

css编写

<style>
.aa{
cursor: pointer;
}
</style>
<body>
<label class="aa">
bb
</label>
</body>

转载请注明出处或者链接地址:https://www.qianduange.cn//article/18495.html
标签
评论
发布的文章

javascript jQuery

2024-09-21 22:09:33

【若依】表格固定列宽

2024-09-21 22:09:30

Knockout-jQueryUI 使用指南

2024-09-21 22:09:29

大家推荐的文章
会员中心 联系我 留言建议 回顶部
复制成功!