Skip to content

Commit b56b85c

Browse files
authored
Merge pull request #106 from pirogramming/feature/kdh
Feature/kdh
2 parents fb17bf1 + 4a0e29a commit b56b85c

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

static/css/cursor.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
html, body {
2+
cursor: url("cursor_24.png") 8 8, auto; /* 8 8 = 핫스팟 좌표(x,y) */
3+
}
4+
5+
a, button { cursor: pointer; } /* 클릭 가능 */
6+
input[type="text"], textarea { cursor: text; } /* 텍스트 선택 */
7+
[draggable="true"], .drag { cursor: grab; }
8+
.drag:active { cursor: grabbing; }
9+
.disabled, button:disabled { cursor: not-allowed; }
10+
.move { cursor: move; } /* 이동 */
11+
.zoom-in { cursor: zoom-in; } /* 확대 */
12+
.zoom-out { cursor: zoom-out; } /* 축소 */

static/css/cursor_16.png

667 Bytes
Loading

static/css/cursor_24.png

1.05 KB
Loading

templates/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<link rel="stylesheet" href="{% static 'css/cursor.css' %}">
78
<link rel="shortcut icon" type="image/x-icon" href="{% static 'images/favicon.ico' %}">
89
<link rel="stylesheet" href="{% static 'css/reset.css' %}">
910
<link href="https://fonts.googleapis.com/css2?family=Lemon&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)