You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
head 태그 안에 style 태그로 css 가능(internal), link rel="stylesheet" href="styles.css" 태그(external)
CSS padding: 여유 공간(안쪽) / CSS Margin(다른 element 사이)
id를 설정하면 css에서 활용 가능(#), class 설정도 가능 (태그.클래스)
Without a forward slash at the end of subfolder addresses, you might generate two requests to the server. Many servers will automatically add a forward slash to the end of the address, and then create a new request.
position: static, relative, fixed, absolute(be positioned relative to the nearest positioned ancestor), sticky
z-index: layer(숫자가 작을수록(-1) 뒤에 배치)
clear: float를 무시하게 해주는 기능,clearfix?(::after)
Selector?
day 6
descendant selector: div p (div element 안에 있는 모든 p), child selector: div>p (div element의 immediate children p), adjacent sibling selector: div+p (div element 바로 다음의 p만(div 제외)), general sibling selector: div~p (div element의 뒤에 존재하는 모든 sibling p (앞과 div 제외))
pseudo-classes: define a special state of an element