当您滚动到词缀偏移时,我将如何更改 css 显示属性?
我希望当我在屏幕中间时出现一个 div,但直到我达到我的偏移量时才可见......
<div class="article-bar" data-spy="affix" data-offset-top="700">
<div class="row">
<div class="col-lg-8">
<?php include('inc_social.php');?>
</div>
<div class="col-lg-4">
Next: <?php next_post('%','');?>
</div>
</div>
</div>
.article-bar {width:100%; background-color:#FFF; padding:10px 20px; top:0; z-index:99999; border-bottom:1px solid #CCC; display:none;}