摘要: <a class="target-fix" name="a-<?php $a->id(); ?>"></a> <artivle>主体内容...</article> 将锚点进行偏移,并隐藏占位: .target-fix { position: relative; top: -44px; // 偏移值 阅读全文
posted @ 2017-09-07 10:03 喵尾景虎 阅读(1475) 评论(0) 推荐(0) 编辑