用css加上手状款式电脑鼠标移上去缩小手

日期:2021-03-07 类型:科技新闻 

关键词:在线小程序开发,微信小程序怎么做店铺,小程序logo设计,小程序平台,小程序码生成

用css 加上手状款式,电脑鼠标移上去缩小手,缩小手

拷贝编码
编码以下:

<span style="font-size:14px">cursor:pointer;

</span><div class="wp_syntax"><span style="font-size:14px">用JS使电脑鼠标缩小手onmouseover(电脑鼠标翻过的情况下)
</span><div class="code"><pre name="code" class="javascript"><span style="font-size:14px">onmouseover<span style="color:rgb(51,153,51)">=</span><span style="color:rgb(51,102,204)">"this.style.cursor='hand'"</span>
</span></pre><span style="font-size:14px"></span></div><span style="font-size:14px"></span></div><span style="font-size:14px"></span><div class="wp_syntax"><span style="font-size:14px"></span><div class="code"><span style="font-size:14px"></span><pre name="code" class="php"><span style="font-size:14px">cursor别的赋值
auto :规范光标
<span style="color:rgb(177,177,0)">default</span> :规范箭头
pointer, hand :手形光标
wait :等候光标
text :I形光标
vertical<span style="color:rgb(51,153,51)">-</span>text :水平I形光标
no<span style="color:rgb(51,153,51)">-</span>drop :不能拖拽光标
not<span style="color:rgb(51,153,51)">-</span>allowed :失效光标
help :协助光标
all<span style="color:rgb(51,153,51)">-</span>scroll :3角方位标
move :挪动标
crosshair :10字标 </span>
</pre></div></div>