#Leftbarのサイズを変更しようとしましたが、ピクセルやパーセンテージで変更しないと、親サイズを変更してパーセンテージを使用するようにしました。何らかの理由で、2番目の兄弟div要素が高さを継承していません
* {
margin: inherit;
box-sizing: inherit;
top: inherit;
left: inherit;
font-family: Menlo;
font-style: italic;
}
html {
margin: 0px 0px 0px 0px;
box-sizing: content-box;
top: 0px;
left: 0px;
}
#Topbar {
background: rgb(255, 0, 0);
width: 100%;
height: 5em;
opacity: 0.6;
}
#Minibar {
position: fixed;
background: rgb(0, 0, 255);
width: 80%;
height: 2.5em;
top: 5em;
left: 5em;
}
#Leftbar {
background: hsl(0, 0%, 0%);
width: 5em;
height: 10em;
}
はあなたが実際に起こるしたいもののいくつかのヒントを表示することができますホープ?画像が賢明。箱の原型の図面はうまくいくだろう...しかし、私はあなたが言うことを得ようとしない。 –
http://prntscr.com/axb19s、http://prntscr.com/axb1fi、およびhttp://prntscr.com/axb1ko – Gensoki