是否可以将MaterializeCss集成到Bootstrap中 [英] Is it possible to integrate MaterializeCss into Bootstrap

查看:128
本文介绍了是否可以将MaterializeCss集成到Bootstrap中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问自己(未经测试)是否可以同时集成 bootstrap

I have asked myself (not tested) if it is possible to integrate both bootstrap and materializecss into the same project

由于两个框架的用途相同,并且在某些类定义中可能重叠,因此仍然有可能将两个框架组合在一起以扩展我的样式选择吗?

Since both frameworks are for the same purpose and probably overlapping in some class definitions etc. is it still possible to combine both frameworks in order to expand my styling options?

推荐答案

Materialize既不是基于Bootstrap也不是基于可视层"的,使用这两种框架可能会导致很多不兼容或至少重叠,因为大多数它们的功能是多余的(网格,菜单,图标等).

Materialize is not based on Bootstrap nor just a "visual layer", using both frameworks may lead to a lots of incompatibilities or at least overlap a lot as most of their functionalities are redundant (grids, menus, icons, etc).

我个人使用了这个项目 Bootstrap材质设计,它是Bootstrap和效果很好. 如果您不需要/不想要Bootstrap,也可以使用已经过的 Material Design Lite 最近由Google发布.这是一个基于材料设计准则的轻量级CSS框架.与角度材料聚合物也使用材料设计"准则,但属于其他javascript框架或需要其他javascript框架(例如Angular).

I personally use this project Bootstrap material design which is a theme for Bootstrap and works very well. If you don't need/want Bootstrap you can also use Material Design Lite that has been recently released by Google. It is a light CSS framework based on Material Design guidelines. Light in comparison to Angular Material or Polymer also using Material Design guidelines but part of or requiring other javascript frameworks (i.e. Angular).

这篇关于是否可以将MaterializeCss集成到Bootstrap中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆