short for | : | Material Design Lite |
是什么 ? | : | an open source front-end component library lets you add a Material Design look and feel to your websites. It doesn’t rely on any JavaScript frameworks and aims to optimize for cross-device use, gracefully degrade in older browsers, and offer an experience that is immediately accessible. |
开发语言 | : | CSS、JavaScript |
开发公司 | : | Google |
官方主页 | : | https://getmdl.io |
源码仓库 | : | https://github.com/google/material-design-lite |
step1、通过包管理器
安装MDL
包管理器 | 安装命令 |
---|---|
bower | bower install mdl --save |
npm | npm install mdl --save |
yarn | yarn add mdl |
step2、在HTML代码中引入CSS和JavaScript
<link href="/bower_components/material-design-lite/material.min.css" rel="stylesheet">
<script src="/bower_components/material-design-lite/material.min.js"></script>