css 向上滑动

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 向上滑动相关的知识,希望对你有一定的参考价值。

/*fade in*/
[data-block-internal-id="core_slider_fullscreen"] .fullscreen-image-slider .orbit__caption {
  animation: fadeIn 1.5s ease;
}

#block-core-slider-regular,
[data-block-internal-id="core_slider_fullscreen"] .fullscreen-image-slider article,
[data-block-internal-id="core_slider_fullscreen"] .fullscreen-image-slider h1 {
 animation: slideDown 1.5s ease; 
 position: relative;
}

main,
.footer,
[data-block-internal-id="core_slider_fullscreen"] .fullscreen-image-slider .orbit__caption .grid-x {
  position: relative;
  animation: slideUp 1.5s ease;
}

.path-frontpage .aw-content,
.path-frontpage .footer,
.not-front .layout-container {
  animation: fadeInSlow 1.5s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeInSlow {
  0% {opacity: 0;}
  50% {opacity: 0.1;}
  100% {opacity: 1;}
}

@keyframes slideDown {
  from {top: -30px;}
  to {top: 0;}
}

@keyframes slideUp {
  from {bottom: -30px;}
  to {bottom: 0;}
}

以上是关于css 向上滑动的主要内容,如果未能解决你的问题,请参考以下文章

CSS Div 向上滑动不带内容

CSS - 单击时向上滑动一个在此之前不可见的 div

鼠标放上去盒子向上滑动

鼠标滑动一次切换一个页面HTML+CSS+JS

LibGDX - 向上滑动或向右滑动等?

React - 向下滚动时向上滑动固定导航栏,向上滚动时向下滑动