rscss

Styling CSS without losing your sanity
別讓 CSS 搞瘋你

Reasonable System for CSS Stylesheet Structure.
為CSS樣式表建立有系統的架構
A set of simple ideas to guide your process of building maintainable CSS.
一些簡單的想法來引導你建立可維護的 CSS

Introduction 引言


Any CSS greater than 1000 lines will get unwieldy. You'll eventually run into these common pitfalls:
任何大於 1000 行的 CSS 會變得笨重。您一定會遇到下列這些常見的問題。

  • "What does this class mean? (這個 class 有什麼意思?)"

  • "Is this class still being used? (這個 class 是否會被持續的使用到?)"

  • "If I make a new class green, will there be a clash? (如果我建立一個新的 class 'green', 是否會有衝突?)"

rscss is an attempt to make sense of all these. It is not a framework. It's simply a set of ideas to guide your process of building maintainable CSS for any modern website or application.
rscss 試圖釐清這些問題。 它不是一個框架。他是一些簡單的想法來引導你,使現代化的網站或應用建立可維護的CSS。

Let's get started by learning about components. Continue 繼續 →
讓我們從了解元件開始吧!


原作者:
rscss © 2015+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors (list).

ricostacruz.com  ·  GitHub @rstacruz  ·  Twitter @rstacruz


原作:@rstacruz|翻譯:@jeffwu85182 多奇數位創意有限公司
有任何建議歡迎提出,感謝!