Best Practices - CSS Theming

后端 未结 5 939

Quite often when I design a website for a customer, I design his website with one (or multiple) CSS files that makes up the entire presentation layer. The thing is, usually, the

5条回答
  •  花落未央
    2021-01-30 11:36

    You should look into SASS, specifically their "Mixins" feature. It takes CSS and introduces a very DRY programmatic approach. You can override existing classes with it, making it perfect for what I think you're trying to do.

    Link

提交回复
热议问题