Breaking

Thursday, May 2, 2013

CSS cursor

cursor 2

Xác định kiểu con trỏ chuột được hiển thị.

Thuộc tính giá trị Ví dụ Mô tả
cursor auto cursor: auto; Mặc định trình duyệt
crosshair cursor: crosshair; +
default cursor: default; mặc định của máy
e-resize cursor: e-resize;
help cursor: help; ?
move cursor: move; ←↕→
n-resize cursor: n-resize;
ne-resize cursor: n-resize; /
nw-resize cursor: nw-resize; \
pointer cursor: pointer; Jm (hình bàn tay)
progress cursor: progress; 8 (con trỏ & đồng hồ cát)
s-resize cursor: s-resize;
se-resize cursor: se-resize; \
sw-resize cursor: sw-resize; /
text cursor: text; I
w-resize cursor: w-resize;
wait cursor: wait; 8 ( đồng hồ cát)
url(*.gif),url(*l.cur),auto cursor: url(*.gif),url(*.cur),auto; sử dụng ảnh làm con trỏ
cursor:
div
{
cursor:auto;
}

Sự tương thích ( Cập nhật / Báo lỗi )

Firefox Opera Google Chrome Safari IOS Android Window phone
               

No comments:

Post a Comment