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.

Decouple Your CSS From HTML With Reusable Modules

2 pointsby drublicover 12 years ago

1 comment

mrxdover 12 years ago
The placeholder selectors in SASS 3.2 are really cool, almost like creating a private keyword for CSS.<p>But I would never use semantic class names, that just seems like a huge waste of time. If I'm building a page, I shouldn't have to touch a SASS file unless I'm actually creating new styles.<p>Technically speaking, a class name should never be something like "download-whitepaper" - IDs are used to uniquely identify things, not classes.
评论 #4874037 未加载