nextbitlabs / Rapido

Write your blog posts with semantic HTML.
https://nextbitlabs.github.io/Rapido/
MIT License
23 stars 4 forks source link

close #128 | mention why CSS classes are out of scope #134

Closed riccardoscalco closed 5 years ago

riccardoscalco commented 5 years ago

I just want to mention that the design choice of not having CSS classes makes Rapido easier to customise with custom CSS classes.

For example, the style declaration .rapido .section .figure p has an higher specificity than the declation .rapido p.customClass. On the contrary, the style declaration .rapido section figure p has an lower specificity than .rapido p.customClass and the latter override the former.