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 |
Tags
- Pre-processing
- Class
- baekjoon
- C++
- 함수
- 티스토리챌린지
- Python
- string
- 문자열
- function
- pass by reference
- raw data
- Deep Learning
- 포인터
- Data Science
- 반복문
- 파이썬
- 오블완
- Object Oriented Programming
- assignment operator
- predictive analysis
- array
- 알고리즘
- pointer
- OOP
- 배열
- const
- 백준
- programming
- vscode
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 |