this website의 사이드 메뉴와 비슷한 것을 만들려고합니다. #parent list 요소의 높이가 콘텐츠의 높이 (#child span - this jsfiddle 참조)와 정확히 같아지기 때문에 현재 #parent list 요소의 높이에 문제가 있습니다. 따라서 그것의 문맥에서 제거되지 않으며,하위 요소보다 작은 부모의 부모
<body>
<article class="full-height row">
<nav id="nav-container" class="full-height row col-sm-3">
<div class="col-sm-4 full-height"></div>
<ul id="nav-button" class="col-sm-8 full-height vcenter">
<li class="vcentered active"><span class="fontastic">0</span></li>
</ul>
<ul id="nav-navbar" class="col-sm-8 full-height display-none">
<li>Projects</li>
<li>Passions</li>
<li>Close</li>
</ul>
</nav>
<section>
</section>
<canvas class="full-height"></canvas>
</article></body>
#child 요소는 지정된 CSS 위치를 갖고 있지 않으며 Z- 색인을 재산 플로트 않는다. #child 요소의 높이가 #parent보다 큰 이유를 모르겠습니다.
이것은 당신의 답변 크롬 39.0.2171.95의 m 아래
감사를 실시 하였다!
jsfiddle을 (를) 만들 수 있습니까? – CMPS
실행 가능한 스 니펫 (nice)이 있지만 실행되지 않습니다. 보아야 할 것이 없습니다. – GolezTrol
CMPS : jsfiddle가 생성되었습니다. 문제는 이제 더 간단 해지고 짧아졌습니다. GolezTrol : 해결, 바이올린을보십시오. –