winhwi

  • 홈
  • 태그
  • 방명록

2025/02 2

미디어쿼리 에는 왜 CSS변수를 사용할 수 없을까?

정확히 말하면 미디어쿼리의 조건문에 css변수를 사용할 수 없을까 입니다. 최근 프로젝트에서 module.css를 사용하면서 CSS 변수를 적극적으로 활용하려고 했습니다.일관된 스타일을 유지하기 위해 breakingPoint 변수도 정의하여 반응형 레이아웃을 일정하게 관리하려 했습니다.:root { --breaking-point-sm: 468px;}.container { width: 100%;}@media (max-width: var(--breaking-point-sm)) { .container { width: 90%; }}하지만 위 코드에서 var(--breaking-point)는 미디어쿼리의 조건문에서 작동하지 않습니다.즉, 미디어쿼리의 조건문에는 CSS 변수를 직접 사용할 수 없습니다...

카테고리 없음 2025.02.28

Quill 2버전 image-resize

위지윅 에디터로 부동의 1위인 Quill을 사용했습니다.Quill 1버전을 사용하면 ,  [Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider usi..

Quill 2025.02.11
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (18)
    • Cooka프로젝트 (7)
      • 게시판 (2)
      • 로그인기능 (3)
      • 리팩토링 (1)
      • 마치며 .. (1)
    • React-Query (2)
    • Algorithm (3)
    • Infinite Scroll (2)
    • JAVA (1)
    • Quill (1)
    • Next (0)
    • 기록 (1)

Tag

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/02   »
일 월 화 수 목 금 토
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바