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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The benefits of a colors specific style sheet

1 点作者 hellyeahdude超过 16 年前
Nifty little trick.

1 comment

Jem超过 16 年前
From the article: "For this example, we can see that I have an orange color for when a user hovers over a link. If I ever wanted to change that, I would just open up the colors.css file, change the color, re-upload and boom!"<p>...but what's the difference between doing that, and opening a single stylesheet and changing the colour, re-upload and boom?<p>Having different stylesheets for every little thing just means more unnecessary requests to the server.