CSS Architecture

CSS/sass

esther

CCS架構到命名方式的應用與舉例,沒有細部介紹現有的架構跟命名規則有點可惜,有大概提到幾個命名方式的優缺點,Naming Methodologies跟Namespacing內容不錯。
ITCSS & SUIT CSS 可以再深入研究。(筆記)


Dayton Web Developer | By Nathan Rambeck

Reference

CSS Pattern Libraries

CSS Architecture

Type of CSS Rules

Naming Your Classes

Get BEM

Naming Methodologies

Reference: Naming CSS Stuff is Really Hard

Namespacing

Add prefixes to all of your classes to recognize the purpose of each one. - Objects: .o- - Components: .c- - State: .is- or .has- - Theme: .t- - Utility: .u-

Advantages of Using PREPROCESSOR