Web front/CSS
-
CSS 기본문법 (2/3, 2/4)Web front/CSS 2022. 2. 5. 18:48
1/ CSS를 작성하고 링크로 연결하기 href는 작성한 CSS 파일명 2/ css 파일 import 하기 3/ 우선 적용. 덮어씌여지지 않음 !important .table-three tfoot tr { background-color: orange !important; color:white; } 4/ box기준으로 width 정할 때. box-sizing: border-box; content 기준일때 box-sizing: content-box; 5/ float부터 해야함 6/ attributeSelecter abbr[title] { text-decoration: underline;} input[type="text"] { border : 1px solid lightgray; padding: 5px; ..