CSS cursor 屬性--css html 鼠標手型,鼠標形狀,鼠標效果,樣式


css鼠標手型cursor中hand與pointer  
Example:CSS鼠標手型效果 <a href="#" style="cursor:hand">CSS鼠標手型效果</a><br/>  
Example:CSS鼠標手型效果 <a href="#" style="cursor:pointer">CSS鼠標手型效果</a><br/>  
注:pointer也是小手鼠標,建議大家用pointer,因為它可以兼容多種瀏覽器。<br/>  
Example:CSS鼠標由系統自動給出效果 <a href="#" style="cursor:auto">CSS鼠標由系統自動給出效果</a><br/>  
Example:CSS鼠標十字型 效果 <a href="#" style="cursor:crosshair">CSS鼠標十字型 效果</a><br/>  
Example:CSS鼠標I字型效果 <a href="#" style="cursor:text">CSS鼠標I字形效果</a><br/>  
Example:CSS鼠標等待效果 <a href="#" style="cursor:wait">CSS鼠標等待效果</a><br/>  
Example:CSS鼠標默認效果 <a href="#" style="cursor:default">CSS鼠標默認效果</a><br/>  
Example:CSS鼠標向右的箭頭效果 <a href="#" style="cursor:e-resize">CSS鼠標向右的箭頭效果</a><br/>  
Example:CSS鼠標向右上箭頭效果 <a href="#" style="cursor:ne-resize">CSS鼠標向右上箭頭效果</a><br/>  
Example:CSS鼠標向上箭頭效果 <a href="#" style="cursor:n-resize">CSS鼠標向上箭頭效果</a><br/>  
Example:CSS鼠標向左上箭頭效果 <a href="#" style="cursor:nw-resize">CSS鼠標向左上箭頭效果</a><br/>  
Example:CSS鼠標向左箭頭效果 <a href="#" style="cursor:w-resize">CSS鼠標向左箭頭效果</a><br/>  
Example:CSS鼠標向左下箭頭效果 <a href="#" style="cursor:sw-resize">CSS鼠標向左下箭頭效果</a><br/>  
Example:CSS鼠標向下箭頭效果 <a href="#" style="cursor:s-resize">CSS鼠標向下箭頭效果</a><br/>  
Example:CSS鼠標向右下箭頭效果 <a href="#" style="cursor:se-resize">CSS鼠標向下箭頭效果</a><br/>  

 CSS cursor 屬性

<html>

<body>
<p>請把鼠標移動到單詞上,可以看到鼠標指針發生變化:</p>
<span style="cursor:auto">
Auto</span><br />
<span style="cursor:crosshair">
Crosshair</span><br />
<span style="cursor:default">
Default</span><br />
<span style="cursor:pointer">
Pointer</span><br />
<span style="cursor:move">
Move</span><br />
<span style="cursor:e-resize">
e-resize</span><br />
<span style="cursor:ne-resize">
ne-resize</span><br />
<span style="cursor:nw-resize">
nw-resize</span><br />
<span style="cursor:n-resize">
n-resize</span><br />
<span style="cursor:se-resize">
se-resize</span><br />
<span style="cursor:sw-resize">
sw-resize</span><br />
<span style="cursor:s-resize">
s-resize</span><br />
<span style="cursor:w-resize">
w-resize</span><br />
<span style="cursor:text">
text</span><br />
<span style="cursor:wait">
wait</span><br />
<span style="cursor:help">
help</span>
</body>

</html>

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM