File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
155155
156156 // 휠 이벤트 처리
157157 document . addEventListener ( "wheel" , function ( e ) {
158- if ( zoom < 80 ) {
158+ if ( zoom < 70 ) {
159159 if ( e . deltaY > 0 ) {
160160 zoom += ZOOM_SPEED ;
161161 nameSection . style . transform = `scale(${ zoom } )` ;
162162 }
163- } else if ( zoom >= 80 ) {
163+ } else if ( zoom >= 70 ) {
164164 nameSection . classList . add ( "zoomed" ) ;
165165 }
166166 } ) ;
@@ -176,12 +176,12 @@ <h2>Our Vision & Technology | 비전과 기술</h2>
176176 document . addEventListener ( "touchmove" , function ( e ) {
177177 touchEndY = e . touches [ 0 ] . clientY ;
178178
179- if ( zoom < 40 ) {
179+ if ( zoom < 80 ) {
180180 if ( touchStartY > touchEndY ) {
181181 zoom += ZOOM_SPEED ;
182182 nameSection . style . transform = `scale(${ zoom } )` ;
183183 }
184- } else if ( zoom >= 40 ) {
184+ } else if ( zoom >= 80 ) {
185185 nameSection . classList . add ( "zoomed" ) ;
186186 }
187187 } ) ;
Original file line number Diff line number Diff line change @@ -400,6 +400,13 @@ main{
400400 border-radius : 15vw ;
401401 box-shadow : 0 0 40px 10px rgb (247 , 247 , 247 );
402402 }
403+
404+ .logo-container .zoomed {
405+ font-size : 600px ; /* 최종 확대 크기 */
406+ color : # fff ; /* 텍스트 색상 변경 */
407+ background-color : # 000 ; /* 배경색 변경 */
408+ transition : all 0s ease; /* 부드러운 전환 */
409+ }
403410
404411 .section-banner-img2 {
405412 width : 80% ;
You can’t perform that action at this time.
0 commit comments