代码在手机上"碎掉"之后,我们是不是该重新想想弹性容器?
原创
网页设计圈有个老掉牙的问题:代码块在手机上怎么才不难看?这篇文章没有给出什么革命性方案,但思路挺实在——文本和代码不该被当成普通内容一视同仁地塞进弹性容器。它们有自己的断裂规则、行高逻辑和可读性底线。我读完最大的感受是,真正被忽视的不是技术细节,而是多数人压根没把代码当成需要"呼吸"的元素。屏幕变小了,字号降了,行宽缩了,代码的语义结构还在吗?这篇文章至少逼你认真想这个问题。
原文:Responsive Text and Code · 来源:Hacker News
版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
相关文章
- 【IT 早报】2026年10月25日 - 本周要闻与趋势
- Tailscale 漏洞报告遭质疑:真实威胁还是 AI 垃圾?
- Over $1.4B has been traded on prediction markets for the 2026 midterms
- AI大模型的投票倾向研究:Grok选共和党92%,GPT选民主党97%,二者一致性不到10%
- An animated explainer of the PHP2SHell vulnerability [video]
- Sound of a guitar string cooling down on a piezo contact mic [video]
- How to fix your life in 1 day
- Ming dynasty statue unearthed in WA returns to China
- Google has officially turned these Nest thermostats back into dumb thermostats
- Show HN: Omni Verify, my AI agent can't post until Kane checks every promise
最新文章
- 【IT 早报】2026年10月25日 - 本周要闻与趋势 14分钟前
- Tailscale 漏洞报告遭质疑:真实威胁还是 AI 垃圾? 44分钟前
- Over $1.4B has been traded on prediction markets for the 2026 midterms 47分钟前
- AI大模型的投票倾向研究:Grok选共和党92%,GPT选民主党97%,二者一致性不到10% 48分钟前
- An animated explainer of the PHP2SHell vulnerability [video] 2小时前
- Sound of a guitar string cooling down on a piezo contact mic [video] 2小时前
- How to fix your life in 1 day 2小时前
- Ming dynasty statue unearthed in WA returns to China 3小时前
- Google has officially turned these Nest thermostats back into dumb thermostats 3小时前
- Show HN: Omni Verify, my AI agent can't post until Kane checks every promise 3小时前
itfan123


![An animated explainer of the PHP2SHell vulnerability [video]](https://www.itfans123.com/zb_users/theme/yd1125free/include/random/1.jpg)

