Use CSS control to change the Mouse shape

Source: Internet
Author: User

The first method is to define in CSS
# Liehuonet {
Cursor: default;
}
The second method is to define

List commonly used
Cursor: hand; hand
Cursor: default; the most common arrow
Cursor: text; text crosshair: Cross
Cursor: wait; Funnel
Cursor: help; question mark
Cursor: e-resize; the left and right arrows are mostly used to drag the layer effect.
Cursor: ne-resize; pull window style
Cursor: n-resize; Up and down arrows

If you want to know all, you can add a div in the style on the VS2008 page, and a prompt will be displayed to list all.

<Center> <font face = "" color = "# ff0000" size = "6"> mouse in various shapes </font> </center> <br/> <br /> <center> <table style = "BORDER-COLLAPSE: collapse "bordercolor =" #000000 "cellspacing =" 0 "cellpadding =" 0 "border =" 1 "borderlight =" green "> <tbody> <tr> <td align =" center "> <font face =" 文中 "color =" # ff0000 "size =" 5 "> <strong> the following page shows the effect display area! </Strong> </font> </td> </tr> <td width = "400" height = "150"> <table height = "200" width = "100%" border = "0"> <tbody> <tr> <td width = "51%" height = "21"> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: hand "href ="/"_ fcksavedurl ="/"> style =" cursor: hand "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 21 "> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: crosshair "href ="/"_ fcksavedurl ="/"> style =" cursor: crosshair "</a> </strong> </font> </div> </td> </tr> <td valign =" top "width =" 51% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: text "href ="/"_ fcksavedurl ="/"> style =" cursor: text "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 25 "> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: wait "href ="/"_ fcksavedurl ="/"> style =" cursor: </a> </strong> </font> </div> </td> </tr> <td valign = "top" width = "51% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: move "href ="/"_ fcksavedurl ="/"> style =" cursor: move "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 25 "> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: help "href ="/"_ fcksavedurl ="/"> style =" cursor: help "</a> </strong> </font> </div> </td> </tr> <td valign =" top "width =" 51% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: e-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: e-resize "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: n-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: n-resize "</a> </strong> </font> </div> </td> </tr> <td valign =" top "width = "51%" height = "25"> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: nw-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: nw-resize "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: w-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: w-resize "</a> </strong> </font> </div> </td> </tr> <td valign =" top "width = "51%" height = "25"> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: s-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: s-resize "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 25 "> <div align =" left "> <font face =" Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: se-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: se-resize "</a> </strong> </font> </div> </td> </tr> <td valign =" top "width = "51%" height = "26"> <div align = "left"> <font face = "Arial, helvetica, sans-serif "size =" 2 "> <strong> <a style =" CURSOR: sw-resize "href ="/"_ fcksavedurl ="/"> style =" cursor: sw-resize "</a> </strong> </font> </div> </td> <td valign =" top "width =" 49% "height =" 26 "> <div align =" left "> </div> </td> </tr> </tbody> </table> </td> </tr> </ tbody> </table> <br/> <center> more tutorials for helping customers, visit: <a href = http://www.bkjia.com/ Target = _ blank _ fcksavedurl =" http://www.bkjia.com/ Target = _ blank "> http://www.bkjia.com/ </A> </center>

Tip: the code can be modified before running!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.