float

자식 요소에 float을 사용하면 부모 요소가 자식을 감싸지 못하고 높이를 잃어 버린다.

해결 방법

부모 요소에 아래와 같은 속성을 주면 된다.

.parent:after { 
	content: ''; 
	dispaly: table; 
	clear: both ;
}

검색 키워드 : float, clearfix

참고 : https://takeuu.tistory.com/60

z-index

z-index만 사용했을 때 속성이 적용되지 않는다.

해결 방법

.content {
	position: relation;
	z-index: 10;
}