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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Why does the HN CSS stylesheet block font size adjustments?

1 点作者 busymichael将近 5 年前
Line 91 of the news.css for HN:<p><pre><code> body { padding: 0; margin: 0; width: 100%; -webkit-text-size-adjust: none; } </code></pre> The webkit-text-size-adjust overrides the minimum font size settings in Chrome. I use Chrome&#x27;s minimum font size settings to help make up for my declining eyesight. This css property prevents Chrome (and other webkit browsers) from increasing the font size.<p>I suspect this property is causing accessibility problems for many users with poor or declining eyesight.<p>Is there a reason to include this property, beyond just to ensure consistent design?<p>I respectfully request that you remove the -webkit-text-size-adjust property entirely.

2 条评论

detaro将近 5 年前
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newsguidelines.html</a><p>&gt; <i>Please don&#x27;t post on HN to ask or tell us something. Send it to hn@ycombinator.com.</i>
maxbaines将近 5 年前
You likely already know this but in case not, you can use zoom (CTRL + &#x2F; -) and the font size increases. Once set it remains each time you visit.