Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cube][type.css]修复带Fixed导航锚点定位错位问题 #16

Open
yisibl opened this issue Jan 13, 2014 · 2 comments
Open

[cube][type.css]修复带Fixed导航锚点定位错位问题 #16

yisibl opened this issue Jan 13, 2014 · 2 comments

Comments

@yisibl
Copy link
Member

yisibl commented Jan 13, 2014

cube

兼容所有浏览器的做法是在所有需要锚点的位置生成一个空标签

<h2><a class="achor" name="">标题……</h2>

type.css

高级浏览器提供CSS方法修复锚点定位,并提供提醒动画。

@wanming
Copy link

wanming commented Apr 1, 2014

能具体描述下吗?

@yisibl
Copy link
Member Author

yisibl commented Apr 1, 2014

请参考 http://thx.github.io/cube/ 的锚点跳转效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants