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.

CSS and Scalability

4 pointsby mparramonabout 9 years ago

1 comment

sjclemmyabout 9 years ago
Recently I've been building a site using Ionic 2 (which sits on top of Angular 2). The way it is structured encourages a single scss file per page/component. It feels much clearer to create and apply the css to individual components. So if you apply an enclosing class to the component with the name of the component you avoid any clashing styles. You do end up writing duplicate css but you don't have to keep track of it across a huge file.