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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Break Free From CSS Prefix Hell

37 点作者 joeyj01超过 13 年前

3 条评论

bretthopper超过 13 年前
What I like: it detects your browser and only sets the needed prefixes.<p>What I don't like: it depends on JS.<p>Using LESS or SASS avoids most of the problem this article talks about it, although the generated CSS will contain every vendor prefix. I'm not sure the difference in CSS filesize is worth using this solution.<p>Does anyone know of a server-side solution like this? Wouldn't be hard to vary the CSS output based on user-agent. Although you'd lose some caching benefits.
评论 #3103089 未加载
评论 #3103803 未加载
评论 #3103830 未加载
评论 #3103135 未加载
mathias超过 13 年前
When did we stop caring about FOUC and client-side performance?
评论 #3103336 未加载
评论 #3103322 未加载
评论 #3103304 未加载
simonhamp超过 13 年前
Fundamentally the wrong wy to deal with this. If it had appeared a few years ago (i.e. before LESS and SASS) it might have been viable for about 5 minutes...<p>Use LESS and precompile your CSS... it will change your life.