.vscrollBox { height: 100%; display: block !important; position: relative; } .vscrollBlackbg { background: linear-gradient(0deg, rgb(0, 0, 0), rgb(0, 0, 0) 15%, transparent); position: absolute; left: 0; right: 0; bottom: 0; height: 80vh; pointer-events: none; float: left; transform: translateY(0vh); } .vscrollBc { position: sticky; top: 0; } #vscrollOut { width: 100%; height: 10px; display: block; position: absolute; bottom: 0; pointer-events: none; } .vscrollText { position: absolute; left: 0; right: 0; margin: 0 auto; text-align: center; z-index: 10; top: 23%; transform: translateY(-50%); transition: all ease .5s; opacity: 0; } .vscrollText1{ font-size: 25px; color: rgba(255,255,255,1); font-family: Microsoft YaHei; line-height: 1; margin-bottom: 20px; } .vscrollText2{ font-size: 58px; color: rgba(255,255,255,1); font-family: Microsoft YaHei; line-height: 1; } .skrollable-after .vscrollText{ opacity: 1; top: 20%; } .skrollr.skrollr-mobile, .skrollr.skrollr-mobile > body{ overflow: initial !important; } .VscrollBoxmobile{ display:none; } @media screen and (max-width:768px){ .vscrollText[data-state="true"]{ opacity: 1; top: 20%; } .vscrollText1{ font-size: 16px; margin-bottom: 6px; } .vscrollText2{ font-size: 38px; } .VscrollBoxmobile{ display:block; } .VscrollBoxpc{ display:none; } .vscrollBc { opacity: 1 !important; position: inherit; } }