GithubHelp home page GithubHelp logo

mazip / material-design-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/material-design-lite

1.0 2.0 0.0 43.15 MB

Material Design Lite Components in HTML/CSS/JS

Home Page: http://getmdl.io

License: Apache License 2.0

JavaScript 28.15% CSS 41.89% HTML 29.95%

material-design-lite's Introduction

Material Design Lite

An implementation of Material Design components in vanilla CSS, JS, and HTML

Material Design Lite (MDL) lets you add a Material Design look and feel to your static content websites. It doesn't rely on any JavaScript frameworks or libraries. Optimized for cross-device use, gracefully degrades in older browsers, and offers an experience that is accessible from the get-go.

Use MDL on your site?

This document is targeted at developers that will contribute to or compile MDL. If you are looking to use MDL on your website or web app please head to getmdl.io.

Browser Support

IE9 IE10 IE11 Chrome Opera Firefox Safari Chrome (Android) Mobile Safari
B A A A A A A A A

A-grade browsers are fully supported. B-grade browsers will gracefully degrade to our CSS-only experience.

Getting Started

Download / Clone

Clone the repo using Git:

git clone --bare https://github.com/google/material-design-lite.git

Alternatively you can download this repository.

What's included

In the repo you'll find the following directories and files.

File/Folder Provides
CONTRIBUTING.md MDL contribution guidelines.
docs Files for documentation the documentation site.
gulpfile.js gulp configuration for MDL.
LICENSE Project license information.
package.json npm package information.
README.md Details for quickly understanding the project.
src Source code for MDL components.
templates Example templates.
test Project test files.

Build

To get started modifying the components or the docs, first install the necessary dependencies, from the root of the project:

npm install && npm install -g gulp

Next, run the following one-liner to compile the components and the docs and spawn a local instance of the documentation site:

gulp serve

Most changes made to files inside the src or the docs directory will cause the page to reload. This page can also be loaded up on physical devices thanks to BrowserSync.

To build a production version of the components, run:

gulp

This will clean the dist folder and rebuild the assets for serving.

Templates

The templates/ subdirectory contains a few exemplary usages of MDL. Templates have their own, quasi-separate gulp pipeline and can be compiled with gulp templates. The templates use the vanilla MDL JS and themed CSS files. Extraneous styles are kept in a separate CSS file. Use gulp serve to take a look at the templates:

Templates are not officially supported in IE9 and legacy browsers that do not pass the minimum-requirements defined in our cutting-the-mustard test.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, Material Design Lite is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to those rules whenever possible.

Feature requests

If you find MDL doesn't contain a particular component you think would be useful, please check the issue tracker in case work has already started on it. If not, you can request a new component. Please keep in mind that one of the goals of MDL is to adhere to the Material Design specs and therefore some requests might not be within the scope of this project.

Do you include any features that a framework comes with?

Material Design Lite is focused on delivering a vanilla CSS/JS/HTML library of components. We are not a framework. If you are building a single-page app and require features like two-way data-binding, templating, CSS scoping and so forth, we recommend trying out the excellent Polymer project.

License

© Google, 2015. Licensed under an Apache-2 license.

material-design-lite's People

Contributors

addyosmani avatar surma avatar sindresorhus avatar garbee avatar mco-gh avatar sgomes avatar jasonmayes avatar nicolasgarnier avatar x1ddos avatar passy avatar samthor avatar paulkinlan avatar mikemitterer avatar alrra avatar skaree avatar battaglr avatar devnook avatar joaostein avatar ianbarber avatar antleblanc avatar matheusazzi avatar skvale avatar zg avatar arthurvr avatar webdesignberlin avatar shakyshane avatar doshprompt avatar charca avatar mateusvahl avatar manishrc avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.