CSS์์๋ ์ปค์์ ๋ชจ์์ ์ค์ ํ ์ ์๋ cursor ์์ฑ์ ์ ๊ณตํฉ๋๋ค.
์ด ์์ฑ์ submit๋ฒํผ์ ๋๋ฅผ๋ ๋ง์น ๋งํฌ๊ฐ ๊ฑธ๋ ค์์ ๋ ์๊ฐ๋ฝ์ด ๋ณด์ด๋ ๊ฒ์ฒ๋ผ ์ค์ ์ ํด์ค ์ ์๋๋ก ํด์ค๋๋ค.
์๋ ํ ์ด๋ธ์๋ ์ปค์ ์์ฑ์ด ๊ฐ์ง ์ ์๋ ๊ฐ๋ค์ ๋ํ ์ค๋ช ์ด ๋์์์ต๋๋ค.
Value | Description |
---|---|
auto | Shape of the cursor depends on the context area it is over. For example an I over text, a hand over a link, and so on... |
crosshair | A crosshair or plus sign |
default | An arrow |
pointer | A pointing hand (in IE 4 this value is hand) |
move | The I bar |
e-resize | The cursor indicates that an edge of a box is to be moved right (east) |
ne-resize | The cursor indicates that an edge of a box is to be moved up and right (north/east) |
nw-resize | The cursor indicates that an edge of a box is to be moved up and left (north/west) |
n-resize | The cursor indicates that an edge of a box is to be moved up (north) |
se-resize | The cursor indicates that an edge of a box is to be moved down and right (south/east) |
sw-resize | The cursor indicates that an edge of a box is to be moved down and left (south/west) |
s-resize | The cursor indicates that an edge of a box is to be moved down (south) |
w-resize | The cursor indicates that an edge of a box is to be moved left (west) |
text | The I bar |
wait | An hour glass |
help | A question mark or balloon, ideal for use over help buttons |
<url> | The source of a cursor image file |
๊ทธ๋ผ ๋ค์ ์์ ๋ฅผ ํ๋ฒ ๋ณด๋๋ก ํ์ฃ .
<p>๊ฐ ์์ฑ๊ฐ ๋ช ์นญ ์์ ๋ง์ฐ์ค๋ฅผ ์ฌ๋ ค๋ณด์ธ์. ๋ง์ฐ์ค ์ปค์๋ชจ์์ด ๋ณํ๋ ๊ฒ์ ๋ณด์ค ์ ์์ ๊ฒ๋๋ค.</p> <div style="cursor:auto">Auto</div> <div style="cursor:crosshair">Crosshair</div> <div style="cursor:default">Default</div> <div style="cursor:pointer">Pointer</div> <div style="cursor:move">Move</div> <div style="cursor:e-resize">e-resize</div> <div style="cursor:ne-resize">ne-resize</div> <div style="cursor:nw-resize">nw-resize</div> <div style="cursor:n-resize">n-resize</div> <div style="cursor:se-resize">se-resize</div> <div style="cursor:sw-resize">sw-resize</div> <div style="cursor:s-resize">s-resize</div> <div style="cursor:w-resize">w-resize</div> <div style="cursor:text">text</div> <div style="cursor:wait">wait</div> <div style="cursor:help">help</div> |
๊ฒฐ๊ณผ๋ ์๋์ ๊ฐ์ต๋๋ค.
|
Reference : http://www.tutorialspoint.com/css/css_cursors.htm
'๐ป Programming > CSS' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[CSS] 18. Dimension ( ๋์ด, ๋๋น, width, height ) (0) | 2016.06.12 |
---|---|
[CSS] 17. Outlines ( ์ธ๊ณฝ์ , ์์๋ผ์ธ ) (0) | 2016.06.12 |
[CSS] 15. Paddings ( ํจ๋ฉ ) (0) | 2016.06.12 |
[CSS] 14. Lists ( ๋ฆฌ์คํธ, ๋ชฉ๋ก ) (0) | 2016.06.12 |
[CSS] 13. Margins ( ๋ง์ง, ์ฌ๋ฐฑ ) (0) | 2016.06.12 |