#parent-container { display: flex; width: 100vw; height: 100vh; } #toc { width: 16.66%; /* 6分の1の幅 */ min-height: 100vh; background-color: #f0f0f0; padding: 20px; position: fixed; left: 0; top: 0; overflow-y: auto; z-index: 9999; /* 最前面 */ } /* 右側のスペースを透明に */ #content { width: 83.34%; /* 6分の5の幅 */ min-height: 100vh; background-color: transparent; /* 背景を透明に */ }

お探しのものが見つかりません。