Knowledge point (2)

position property:

possible values

value describe
static default. An element whose position is set to static will always be in the position given by the page flow (static elements ignore any top, bottom, left, or right declarations).
relative An element whose position is set relative can be moved relative to its normal position, so "left:20" will move the element 20 pixels to the left of the element's normal position.
absolute An element whose position is set to absolute can be positioned relative to the specified coordinates of the containing element. The position of this element can be specified by the "left", "top", "right" and "bottom" properties.
fixed An element whose position is set to fixed can be positioned at specified coordinates relative to the browser window. The position of this element can be specified by the "left", "top", "right" and "bottom" properties. The element stays in that position whether the window is scrolled or not. Works in IE7 (strict mode).

hover property:

Use color when changing the font when the mouse is placed

cursor (small mouse changes):

possible values

value describe
url

The URL of the custom cursor to use.

Note: Always define a generic cursor at the end of this list in case there is no available cursor defined by the URL.

default Default cursor (usually an arrow)
auto default. The cursor set by the browser.
crosshair The cursor appears as a crosshair.
pointer The cursor is rendered as a pointer (a hand) to indicate a link
move This cursor indicates that an object can be moved.
e-resize This cursor indicates that the edge of the rectangle can be moved to the right (east).
what-resize This cursor indicates that the edge of the rectangle can be moved up and to the right (north/east).
nw-resize This cursor indicates that the edge of the rectangle can be moved up and to the left (north/west).
n-resize This cursor indicates that the edge of the rectangle can be moved up (north).
se-resize This cursor indicates that the edge of the rectangle can be moved down and to the right (south/east).
sw-resize This cursor indicates that the edge of the rectangle can be moved down and to the left (south/west).
s-resize This cursor indicates that the edge of the rectangle can be moved down (south).
w-resize This cursor indicates that the edge of the rectangle can be moved to the left (west).
text This cursor indicates text.
wait This cursor indicates that the program is busy (usually a watch or hourglass).
help This cursor indicates available help (usually a question mark or a balloon).
cursor:wait;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325920066&siteId=291194637