【问题标题】:Other pages are is not responsive for the same media query其他页面对相同的媒体查询没有响应
【发布时间】:2017-01-02 16:43:50
【问题描述】:

我将 fullpage.js 用于单页网站,第一个主页适合视口,但其他页面底部对于相同的媒体查询是不可见的

【问题讨论】:

  • 你的代码在哪里?
  • 这是一个不完整的问题。

标签: javascript css twitter-bootstrap media-queries fullpage.js


【解决方案1】:

Fullpage.js 是响应式的。媒体查询需要做什么?

如果您想对部分执行任何操作,您会在文档中找到参数和一些回调函数

        //events
        onLeave: function(index, nextIndex, direction){},
        afterLoad: function(anchorLink, index){},
        afterRender: function(){},
        afterResize: function(){},
        afterSlideLoad: function(anchorLink, index, slideAnchor, slideIndex){},
        onSlideLeave: function(anchorLink, index, slideIndex, direction, nextSlideIndex){}

【讨论】:

猜你喜欢
  • 1970-01-01
  • 2014-11-04
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-06-02
  • 2018-09-13
  • 2016-02-10
相关资源
最近更新 更多