relative WIL-CSS [Position] 💡 position은 '위치'란 뜻으로 요소들의 위치를 지정해주는 속성이다. 💡 static은 position의 기본값이다. 기본적으로 특정한 position값을 주지 않으면 static값을 가지게 된다. 그래서 html에 쓴 태그순으로 위치가 정해지게 된다. 또한, static은 부모객체에서 다른 position 속성값이 주어졌을 때, 이를 무시하기 위해 사용될 때가 있다. ex) posi... fixedstickyabsolutepositionrelativeabsolute CSS position | relative, absolute, fixed에 대해 알아보자! CSS 레이아웃 관련 문제를 푸는데 위치를 잡는게 헷갈린다. 이럴 때 사용 가능한 게 position 속성이다. position 속성의 값은 네 가지가 있다. position: static; position: relative; position: absolute; position: fixed; 이중 position: static;은 자주 사용되지 않는다. 함께 자주 사용되는 relative, ... absolutehtmlCSSfixedwecodefullstack4relativeCSS
WIL-CSS [Position] 💡 position은 '위치'란 뜻으로 요소들의 위치를 지정해주는 속성이다. 💡 static은 position의 기본값이다. 기본적으로 특정한 position값을 주지 않으면 static값을 가지게 된다. 그래서 html에 쓴 태그순으로 위치가 정해지게 된다. 또한, static은 부모객체에서 다른 position 속성값이 주어졌을 때, 이를 무시하기 위해 사용될 때가 있다. ex) posi... fixedstickyabsolutepositionrelativeabsolute CSS position | relative, absolute, fixed에 대해 알아보자! CSS 레이아웃 관련 문제를 푸는데 위치를 잡는게 헷갈린다. 이럴 때 사용 가능한 게 position 속성이다. position 속성의 값은 네 가지가 있다. position: static; position: relative; position: absolute; position: fixed; 이중 position: static;은 자주 사용되지 않는다. 함께 자주 사용되는 relative, ... absolutehtmlCSSfixedwecodefullstack4relativeCSS