Diwanee-FE / Diwanee-Boilerplate

3 stars 0 forks source link

Naming convention #14

Open IvanBuljovcic opened 8 years ago

IvanBuljovcic commented 8 years ago

Regarding the SCSS (CSS) class naming convention.

Read the related article: https://en.bem.info/methodology/naming-convention/

IvanBuljovcic commented 8 years ago

Just my personal opinion, but the Harry Robert's style, combined with the camelCase style

i.e. blockName__elementName--modifierName

Is the most easy to read out of the bunch. At least for me personally. Which is why i use it in every project