CSS Mouse Cursor
When using Windows, Linux, or a Macintosh you will have undoubtedly seen many different mouse cursor icons. There is the normal mouse cursor icon that looks like a skewed arrow; the "I" looking icon when selecting text, and some sort of animated logo when the computer is thinking (usually an hourglass).CSS Cursor Icons
In this lesson we will show how to change the mouse cursor icon for a few different HTML elements. Below is a list of the most commonly accepted cursors:- default - Display the normal mouse cursor icon
- wait - The mouse icon to represent the computer "thinking"
- crosshair - A cross hair reticle
- text - An "I" shaped icon that is displayed when selecting text
- pointer - A hand icon that you see when you hover over an HTML link
- help - A question mark (usually)
CSS Cursor Code
Now let's try these puppies out. Here are a few cursor code examples that should help you customize your site.CSS Code:
p { cursor: wait } h4 { cursor: help } h5 { cursor: crosshair }
Display:
Please Wait While this Web Page Loads
0 comments:
Post a Comment