cutechicken commited on
Commit
b5b0c77
โ€ข
1 Parent(s): be5d96a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +52 -32
index.html CHANGED
@@ -87,41 +87,61 @@
87
  }
88
 
89
  #crosshair {
90
- position: fixed;
91
- top: 25%;
92
- left: 50%;
93
- transform: translate(-50%, -50%);
94
- width: 40px;
95
- height: 40px;
96
- border: 2px solid rgba(255,0,0,0.7);
97
- border-radius: 50%;
98
- z-index: 1001;
99
- pointer-events: none;
100
- mix-blend-mode: difference;
101
- }
 
 
 
 
 
 
102
 
103
- #crosshair::before,
104
- #crosshair::after {
105
- content: '';
106
- position: absolute;
107
- background: rgba(255,0,0,0.7);
108
- }
 
109
 
110
- #crosshair::before {
111
- top: 50%;
112
- left: -10px;
113
- right: -10px;
114
- height: 2px;
115
- transform: translateY(-50%);
116
- }
117
 
118
- #crosshair::after {
119
- left: 50%;
120
- top: -10px;
121
- bottom: -10px;
122
- width: 2px;
123
- transform: translateX(-50%);
124
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
  #healthBar {
127
  position: absolute;
 
87
  }
88
 
89
  #crosshair {
90
+ position: fixed;
91
+ top: 25%;
92
+ left: 50%;
93
+ transform: translate(-50%, -50%);
94
+ width: 40px;
95
+ height: 40px;
96
+ border: 2px solid rgba(255,0,0,0.7);
97
+ border-radius: 50%;
98
+ z-index: 1001;
99
+ pointer-events: none;
100
+ mix-blend-mode: difference;
101
+ transition: all 0.2s ease; /* ๋ถ€๋“œ๋Ÿฌ์šด ์ „ํ™˜ ํšจ๊ณผ ์ถ”๊ฐ€ */
102
+ }
103
+ /* ์กฐ์ค€ ๊ฐ€๋Šฅ ์ƒํƒœ์˜ ํฌ๋กœ์Šคํ—ค์–ด ์Šคํƒ€์ผ */
104
+ #crosshair.target-locked {
105
+ border: 4px solid rgba(0,255,0,0.9);
106
+ box-shadow: 0 0 10px rgba(0,255,0,0.5);
107
+ }
108
 
109
+ #crosshair::before,
110
+ #crosshair::after {
111
+ content: '';
112
+ position: absolute;
113
+ background: rgba(255,0,0,0.7);
114
+ transition: all 0.2s ease;
115
+ }
116
 
117
+ #crosshair.target-locked::before,
118
+ #crosshair.target-locked::after {
119
+ background: rgba(0,255,0,0.9);
120
+ }
 
 
 
121
 
122
+ #crosshair::before {
123
+ top: 50%;
124
+ left: -10px;
125
+ right: -10px;
126
+ height: 2px;
127
+ transform: translateY(-50%);
128
+ }
129
+
130
+ #crosshair::after {
131
+ left: 50%;
132
+ top: -10px;
133
+ bottom: -10px;
134
+ width: 2px;
135
+ transform: translateX(-50%);
136
+ }
137
+
138
+ #crosshair.target-locked::before {
139
+ height: 4px;
140
+ }
141
+
142
+ #crosshair.target-locked::after {
143
+ width: 4px;
144
+ }
145
 
146
  #healthBar {
147
  position: absolute;