Tutorialsplane

Materialize Installation

MaterializeCss Installation(Environment Setup): It is very easy to setup environment for Materialize Css. Here in this tutorial we are going to explain how you can install Materialize Css. –

Materialize Installation Steps

There are two ways to install Materialize –

Install Locally:

To install locally download the materialize.min.css and materialize.min.js from http://materializecss.com/getting-started.html And keep them in js and css folder and simply include as below –

Materialize Installation Steps:


  
    
      <!--Import Google Icon Font-->
      
      <!--Import materialize.css-->
      <!-- Compiled and minified CSS -->
  
  
    
  <!-- Compiled and minified JavaScript -->
  
   
      <!--Let browser know website is optimized for mobile-->
      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    

    

    
  
        

jQuery is required so do not forget to include it.

CDN Based Installation

You can also install materialized css and js from CDN simply as below –

Materialize CDN URL Based Installation Example:


  
    
      <!--Import Google Icon Font-->
      
      <!--Import materialize.css-->
      <!-- Compiled and minified CSS -->
  
   
    
  <!-- Compiled and minified JavaScript -->
  

      <!--Let browser know website is optimized for mobile-->
      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    

    
    
  
        

Now you are ready to go and You can create your first page in Materialize.
So let us create an example.

Example

Let us create an example using the CDN based installation of Materialize Css and Js.

Materialize First Application Example:


  
    
      <!--Import Google Icon Font-->
      
      <!--Import materialize.css-->
      <!-- Compiled and minified CSS -->
  
   
    
  <!-- Compiled and minified JavaScript -->
  

      <!--Let browser know website is optimized for mobile-->
      <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    
    
    <h1>My First App</h1>
    
  

Try it »

Materialize Tutorial

Css

Component

JavaScript