freeCodeCamp/guide/english/css/css-frameworks/css-framework-material-desi.../index.md

1.2 KiB

title
CSS Framework Material Design Lite

CSS Framework Material Design Lite

Material Design Lite lets you add a Material Design look and feel to your websites. It aims to optimize for cross-device use.

Getting Started

Here is a simple HTML template which includes the latest compiled and minified CSS for the MDL library.

<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
        <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
        <script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
    </head>
    <body>
    </body>
</html>

We have used a CDN in this example, but you can checkout other ways of installing MDL here.

Learning Resources

  • The official documentation for MDL is available here.
  • Checkout MDL's open source GitHub repository here.