일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Paper
- DB
- Windows
- Package
- pandas
- judge
- Converting
- evaluation
- Container
- numpy
- Flask
- AI
- git
- GitLab
- file
- pytorch
- Python
- Linux
- PostgreSQL
- TORCH
- format
- KAKAO
- Database
- Mac
- docker
- Laravel
- LLM
- list
- enV
- CUDA
Archives
- Today
- Total
Daily Develope
[CSS] 작성 규칙 본문
- 최상단부터 하단의 내용이 overwrite되는 방식으로 규칙 적용
태그 유형별 스타일 적용 (예시)
/*모든 div 태그에 적용*/
dix {
width: 100%;
}
/*id 기준 스타일 적용*/
#my_id {
width: 100%;
}
/*class 기준 스타일 적용*/
.my_class {
width: 100%;
}
/*div의 모든 my_id에 적용*/
div my_id {
height: 10px;
}
/*div 밑의 my_class 밑의 list item에만 스타일 적용*/
div>.my_class>li {
text-align: center;
}
class에 스타일 적용
'Develope > Web' 카테고리의 다른 글
[Web] Datatables 간단 예시 (2) | 2024.09.11 |
---|---|
[JS] javascript 예시 코드 모음 (0) | 2024.09.02 |
[SSL] NginX SSL 인증서 설정 (0) | 2023.08.17 |
[WEB] 동적 웹페이지 처리 with Python (0) | 2023.05.09 |
[Web] XPath 간단 정리 (0) | 2023.05.09 |
Comments