CSS we know that when the mouse to move to different places, when the mouse needs to perform different functions, when the system is in a different state, the shape of the mouse will change.
use CSS to change the properties of the mouse, that is, when the mouse moved to different elements of the object, so that the mouse with a different shape, pattern display.
in CSS, this style is implemented through the "cursor" attribute. Cursor property has a number of property values, let's take a look at its detailed list:
Let's take a look at the following code:
<title>changemouse</title>
<body>
<p style= "font-family: Running script font-size:16pt;color:red >
Please move your mouse to the appropriate position to view the effect. </p>//* sets the name, size, and color of the font *//
<div style= "font-family: line style; font-size:24pt;color:green;"
//* Sets the font name, size, green *//
<p><span style= "Cursor:hand" > Hand shapes </span><br>
//* Set the mouse properties to the shape of the hand
<span style= "Cursor:move" > Move </span><br>//* Set Mouse properties to move *//
<span style= "Cursor:ne-resi" ze > Reverse direction </span><br>
//* Set the mouse property to the opposite direction *//
<span style= "cursor:wait" > Wait </span><br& gt;//* set mouse properties to wait *//
<span style= "Cursor:help" > Help </span>//* Set mouse properties for help *//
</p>
</d Iv>
</body>
The effect of the above code, please click here
CSS properties here, we see that there are a lot of properties, but you just have to figure out what they mean, it will be convenient to use. When you apply, you can also refer to the detailed list of attributes that I provided for you.
The next chapter will introduce you to CSS positioning.