해당 css 우선순위는 active ,saw , a,h1 순으로 우선순위를 가지고 있다 . 가장 높은순위는 유일무일한 존재 id 인 active 이고 class 인 saw가 2번째순위 마지막으러 태그인 a ,h1 순이다우선순위가 같을때는 밑에있는게 더 우선순위를
https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block 참고자료
블럭 : 홈페이지의 /끝까지 차지하는 블럭ex) CSS (공간)이런식으로 떨어짐인라인: 자신의 영역만 공간을 차지ex) CSS 이런식으로 붙음
css 선텍자와 value 값
html 화면link rel="stylesheet" type"text/css" href="css\\css_0.css"h1 id="background"></h1css 화면body { margin:0px; background-color: rgba(110,
이미지크기 조절(비율단위)img src="파일경로"width="숫자%",height="숫자%"%는 비율 px은 단위
position:absolute; left:0px; top:163px; z-index:-1; / 이미지를 뒤로 넘김 z-index:-1/}position = fixed (그림을 고정)left,top 화면의 위치 선정z-index:-1 이미지를 뒤로넘김
<link rel="stylesheet" type"text/css" href="css\\css_0.css">href = css파일 경로 해당 링크를 통하여 css_0.css 파일에서 html으로 다운받아 코드를 사용한다 .이렇게 하면 유지보수하기 좋다 .