HTML and CSS Reference
In-Depth Information
.box {
display: inline-block;
width: 100px;
height: 100px;
margin: 0 1em;
background: #ccc;
border-radius: 10px;
}
cursor
The cursor property specifies what cursor users see when they hover over an element.
The default value is auto , meaning that the browser decides what cursor to use. Standard
cursor values and their appearance can be seen in Table 22-1 .
Table 22-1. Standard cursor values
default
pointer
move
copy
wait
progress
help
context-menu
ns-resize
ew-resize
text
vertical-text
n-resize
e-resize
s-resize
w-resize
ne-resize
se-resize
sw-resize
nw-resize
news-resize
nwse-resize
cell
alias
not-allowed
col-resize
row-resize
all-scroll
no-drop
crosshair
In addition to these values, custom cursors can be defined using the url function.
If this cursor is not available, a generic cursor can be specified after the custom one,
separated by a comma.
cursor: url(new.cur), pointer;
 
Search WWH ::




Custom Search