Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 | 31 |
Tags
- Python
- baekjoon
- 티스토리챌린지
- pointer
- programming
- Object Oriented Programming
- pass by reference
- assignment operator
- raw data
- function
- vscode
- predictive analysis
- 문자열
- Pre-processing
- 배열
- Deep Learning
- 백준
- 파이썬
- 오블완
- 알고리즘
- Class
- 포인터
- OOP
- const
- string
- 함수
- array
- C++
- 반복문
- Data Science
Archives
- Today
- Total
Channi Studies
[html/css] css cascading 순서 본문
css에는 특성이 적용되는 순서(cascading)가 있다.
그 종류로는 position, specificity, type, importance가 있다.

- Position: css 상에서 위에서 아래 순서로 적용
- Specificity: 구체적인 요소가 우선적으로 적용
태그 < id < attribute < id 순서로 적용
- Type: External Stylesheet < Internet Stylesheet < Inline Stylesheet 순서로 적용
- Importance: !important 키워드로 우선 적용 가능
position, specificity, type 모든 것과 무관하게 우선 적용
해당 포스트는 Udemy 강의 The Complete 2023 Web Development Bootcamp의 내용을 정리한 것입니다.
'html.css' 카테고리의 다른 글
| [html/css] css positioning (0) | 2023.09.25 |
|---|---|
| [html/css] css selectors(선택자) (0) | 2023.09.25 |