TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

4 Little known ways to build mobile optimized websites suggested by Google

1 点作者 adarsh_thampy超过 9 年前
Recently I happened to attend a session conducted by Google on building mobile optimized websites.<p>Couple of things I picked up which I haven&#x27;t read elsewhere are shared below. If you have more tips, let the Hacker News community know.<p>1. If you have dynamic serving on your website, ensure we send a vary: http header. 2. Optimize for finger clicks rather than cursor clicks. For important links, we should have minimum 7mm width&#x2F;height (48 CSS pixels) and for lesser important links, minimum of 5 mm. 3. Line spacing is important. Minimum 1.2 em. 4. Load time matters- a lot. Average mobile website page load takes 7 seconds. In Google&#x27;s tests, 1 second is the point beyond which people get distracted. If we consider 1 second (1000 ms), 600 ms goes as mandatory 3g overhead in mobile. So we are left with 400 ms to load the site (200ms for server response time and 200ms for client side rendering).

暂无评论

暂无评论