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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

`font-family: Comic Sans MS` (without quotes) is valid, working CSS

30 点作者 mathias大约 13 年前

2 条评论

sequoia大约 13 年前
This is an interesting bit of trivia and fun to know, but I beg front end devs: PLEASE do not take this as anything more than an interesting bit of trivia. <i>Please do not</i> incorporate this information into your workflow; it would be pure folly as it introduces complexity, potential confusion, and potential bugs and yields infinitesimally small returns.<p>Thank you mathias for writing about this, it's neat to know how these things work!
taylorfausak大约 13 年前
Nice post, and a good explanation of how CSS handles identifiers and strings. But I can't figure out why you'd want to specify a font-family without using quotes. To save two bytes?
评论 #3793289 未加载