안녕하세요 제 질문은 누군가 내 바닥 글에서 내 콘텐츠의 스크롤 막대가되도록 도와 줄 수 있습니까?고정 div 아래에있는 HTML/CSS/JS 내용 스크롤 막대
그리고 여기에 코드 스 니펫
HTML :
<body>
<div class="major">
<div class="torso">
<div id="gallery">
</div>
<div class="bone">
<div class="aero">
Menu
</div>
<div class="magneticaero">
<a href="index.html" class="geo">
<div class="chest">
<div class="flaticon-house158">
</div>
</div>
</a>
</div>
</div>
</div>
</body>
CSS :
html,head,body,p,div,a,ul,h2{
margin: 0;
padding: 0;
font-family: sans-serif,Century Gothic,CenturyGothic,AppleGothic;
text-decoration: none;}
.major{
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
position: fixed;}
.torso{
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow-y: scroll;}
.bone{
width: 100%;
height: 70px;
margin: 0;
padding: 0;
bottom: 0;
position: fixed;
background-color: #C2C2C2;
text-align: center;
transition: 1s;}
.aero{
width: 100%;
height: 40px;
box-shadow: 0 0 1px #FFF;
padding-top: 15px;
padding-bottom: 15px;
font-size: 30px;
font-weight: bold;
color: #FFF;}
.magneticareo{
width: 100%;
height: 360px;}
.chest{
width: 25%;
height: 350px;
box-shadow: 0 0 1px #FFF;
float: left;
font-size: 25px;
font-weight: bold;
color: #FFF;}
.boneup{
height: 350px;}
.photo{
width: 100%;
height: auto;
padding: 0;
margin: 0;}
.order{
width: 20%;
height: auto;
padding: 0;
margin: 0;
float: left;}
나는 누군가가,
정확히 달성하기 위해 무엇을하려고합니까? –
첫 번째 그림에서 바닥 글 위로 스크롤 막대가되는 것을 시도합니다. 화살표가 표시되어 있으며 화살표가 가리키는 곳에 스크롤 막대가 있어야합니다. 문법 오류로 인해 유감스럽게 생각합니다. 당신이 모든 것을 이해하기를 바랍니다. –
@SorangwalaAbbasali 어쩌면 내 문제를 이해하는 데 도움이되는 마지막 사진을 추가했습니다. 나는 그것이 그림과 같이 보이길 바란다. –