CSS 框架真的值得使用吗?

2022-01-16 00:00:00 frameworks css

CSS 框架有没有什么东西让你自己做起来不容易?

Is there anything that CSS Frameworks give that its not easy to make yourself?

推荐答案

我对 CSS 框架的主要用途是,它们往往会迫使您考虑如何组织代码,而不是为您提供必不可少的日常任务的工具.

The main use I have for CSS frameworks is that they tend to force you to think about how you're going to organise you code rather than provide you with indispensable tools for your day to day tasks.

出于这个原因,我是 boilerplate 的粉丝,而不是类似的东西作为样板的蓝图倾向于关注您如何构建 css 样式表和导入,而不是为您提供语义上令人困惑的帮助类的集合.

For that reason, I'm a fan of boilerplate rather than things like blueprint as boilerplate tends to focus on how you structure your css stylesheets and imports rather than providing you with a collection of semantically confusing helper classes.

相关文章