TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The benefits of a colors specific style sheet

1 pointsby hellyeahdudeover 16 years ago
Nifty little trick.

1 comment

Jemover 16 years ago
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.