블로그
- position:absolute;를 활용한 정렬 /*css*/ .test{ position:relative; /*블럭태그*/ width:800px; height:800px; background:#99c; margin:100px auto left:0; width:100px; height:100px; background:#c00; border-radius:50%; } .box2{ position:absolute; bottom
- [CSS] position 속성으로 정렬하기 (static, relative, absolute, fixed 차이) [css 기초] float 속성에 대하여 오늘 배울 position 역시 레이아웃을 배치하거나, 객체를 위치시킬 때 사용할 수 있는 속성 입니다 *position 속성은 상속되지 않음 : static은 초기값으로 위치를 지정하지 않을 때와 같습니다 보통 static은 사용할 일이 없지만, 앞에 설정된 position을 무시할 때 사용되기도 합니다. top, bottom