반응형
상속되는 속성의 !important는 매우 간단하게 오버라이딩 됩니다.
오버라이딩 될 때에는 그냥 해당 속성이 없었다가 생겼다고 생각하시면 됩니다.
참고 : https://developer.mozilla.org/en-US/docs/Web/CSS/Reference#keyword_index
CSS reference - CSS: Cascading Style Sheets | MDN
Use this CSS reference to browse an alphabetical index of all of the standard CSS properties, pseudo-classes, pseudo-elements, data types, functional notations and at-rules. You can also browse key CSS concepts and a list of selectors organized by type. Al
developer.mozilla.org
[CSS] 📚 상속 개념 & 적용 우선순위 - 쉽게 이해하기
CSS 상속 CSS 속성은 상속하는 속성과 상속하지 않는 속성이 있다. 상속하는 속성은 자식 요소에 영향을 미친다. 상속하지 않는 속성은 자식 요소에 영향을 미치지 않는다. 상속하는 속성 예
inpa.tistory.com
반응형
'FrontEnd' 카테고리의 다른 글
Redux Toolkit : Immer와 함께 사용하기 (0) | 2022.09.12 |
---|---|
[번역] Mobx로 배우는 반응형 프로그래밍(reactive programming)의 원리 (0) | 2022.09.12 |
리액트 쿼리 : 셀렉터와 폴더 구조 (0) | 2022.08.30 |
[번역] Idiomatic Redux: The Tao of Redux, Part 2 - Practice and Philosophy (0) | 2022.08.28 |
[Redux] 액션 생성자를 사용해야 하는 이유 (Idiomatic Redux: Why use action creators?) (0) | 2022.08.27 |