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

note: 第一个TODO的移动端页面 #2

Open
SoAanyip opened this issue Jan 21, 2016 · 0 comments
Open

note: 第一个TODO的移动端页面 #2

SoAanyip opened this issue Jan 21, 2016 · 0 comments

Comments

@SoAanyip
Copy link
Owner

http://soaanyip.github.io/mobile/hear-site/index.html

BorwserSync + Zepto + FrozenUI

首先是多终端同步调试的browserSync的确很有用,一些bug在自己的古老旧版Android机上才有发现出来。
在布局上面本来尝试原生的flex,但是自己手机(Android4.1?)不支持,于是布局使用frozen兼容的flex的class。
多行文本截断使用 .ui-nowrap-multi ,通过调整-webkit-line-clamp属性控制行数。
story中展开的效果是transition,毫无意外在自己手机上十分的卡。
记录了tap展开时的scroll位置,收起时恢复。
top-nav需要判断机器是否支持fix,不支持直接static。
//TODO
参考frozen中的动画实现方式。
文件结构。
丰富内容。

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

1 participant