代码在手机上"碎掉"之后,我们是不是该重新想想弹性容器?
原创
网页设计圈有个老掉牙的问题:代码块在手机上怎么才不难看?这篇文章没有给出什么革命性方案,但思路挺实在——文本和代码不该被当成普通内容一视同仁地塞进弹性容器。它们有自己的断裂规则、行高逻辑和可读性底线。我读完最大的感受是,真正被忽视的不是技术细节,而是多数人压根没把代码当成需要"呼吸"的元素。屏幕变小了,字号降了,行宽缩了,代码的语义结构还在吗?这篇文章至少逼你认真想这个问题。
原文:Responsive Text and Code · 来源:Hacker News
版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
相关文章
- Stabyourself.net Games
- 【IT 早报】2026年11月19日 - 本周要闻与趋势
- 从均匀平铺到自适应路由:RINs 如何让扩散生成提速 10 倍?
- Claude Code makes a finished subagent send its report twice (70-second repro)
- Becerra faces a $2B budget deficit as potential AI bust looms
- Show HN: Agent Hive – cute Grokbot like agentic teams with queen and many bees
- Show HN: Lazycow Studio – turns footage you never edited into reels, locally
- Experiments in Weight-Space Programming
- Lindy Effect
- Meet Your Neighbors – A new type of political compass
最新文章
- Stabyourself.net Games 32分钟前
- 【IT 早报】2026年11月19日 - 本周要闻与趋势 35分钟前
- 从均匀平铺到自适应路由:RINs 如何让扩散生成提速 10 倍? 1小时前
- Claude Code makes a finished subagent send its report twice (70-second repro) 1小时前
- Becerra faces a $2B budget deficit as potential AI bust looms 2小时前
- Show HN: Agent Hive – cute Grokbot like agentic teams with queen and many bees 2小时前
- Show HN: Lazycow Studio – turns footage you never edited into reels, locally 2小时前
- Experiments in Weight-Space Programming 3小时前
- Lindy Effect 3小时前
- Meet Your Neighbors – A new type of political compass 4小时前
itfan123





