×

Top 14 Material Design Lite Interview Questions for 2024

1) What is Material Design Lite?

Material Design Lite is UI component Library. It is created with CSS, JavaScript and HTML. It is used for design purpose. It is developed by Google in 2014.

2) What are the features of Material Design Lite?

Material Design Lite features are:
  • It is used to create responsive design.
  • It provides Standard CSS.
  • It provides cards, button, boxes, text and many more.
  • It can be used without any library or development environment.

3) How many ways to use Material Design Lite?

There are two ways to use Material Design Lite:
  • Via Local Installation.
  • Via CDN( Content Delivery Network) Based version.

4) How can we use <link> and <script> in MDL?

We can use <link> and <script> in MDL by using following code:
<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>

5) What is naming conversion used by MDL?

Material Design Lite used BEM ( Block Element Modifier ). It is method used to construct CSS class-name.

6) What are the various CSS classes in Material Design Lite?

There are various CSS classes of Material Design Lite:
  • mdl-layout
  • mdl-js-layout
  • mdl-navigation
  • mdl-layout--fixed-header etc.

7) What is Material Design Lite tab?

Material Design Lite tab is user interface component. It is used to show multiple screens in a single space in a proper manner.

8) What is Material Design Lite Badges?

Material Design Lite Badges is used to emphasize the number of items. It is a component that provides onscreen notification.

9) What is the additional MDL class to create template fixed header and fixed drawer?

Fixed header and fixed drawer classes of MDL is:
  • .mdl-layout--fixed-drawer: It is used to make the drawer always visible and open in larger screens.
  • .mdl-layout--fixed-header: It is used to make the header always visible, even in small screens.

10) What are the button classes and their effects?

The following button classes and their effects are:
Button Classes Description
mdl-button It is used to set the button as an MDL component.
mdl-button--raised It is used to set raised display effect..
mdl-button--fab It is used to set fab ( Circular) effect.
mdl-button--colored It is used to set the color effect.

11) What is the spinner class in MDL?

In MDL, the spinner classes is: mdl-spinner. Example:
<body>  

      <h4>Default Spinner</h4>  

      <div class = "mdl-spinner mdl-js-spinner is-active"></div>  

      <h4>Single Color Spinner</h4>  

      <div class = "mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active"></div>  

</body>

12) What are the classes of Material Design Lite Menu?

Material Design Lite Menu classes are:
  • mdl-button
  • mdl-js-button
  • mdl-button—icon
  • mdl-menu
  • mdl-menu--top-left
  • mdl-menu--top-right etc.

13) What are the browsers supported by MDL?

Material Design Light supports various browsers.
  • Mobile Safari
  • Chrome (Android)
  • Safari
  • Firefox
  • Opera
  • Chrome etc.

14) How can we create raised button and colored FAB?

We can create raised button and colored Fav by using following codes:
<!-- Accent-colored raised button with ripple -->  

<button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent">  

  Button  

</button>  

  

<!-- Colored FAB button -->  

<button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored">  

  <i class="material-icons">add</i>  

</button>

Related Topics

Top 26 SEO Interview Questions for 2024

Most Frequently asked SEO Interview Questions and Answers for Fresher and Experienced 1) What is SEO? SEO stands for Search Engine Optimization. It is a set of processes followed by website owners...

4 minutes read.

Top 15 Haskell Interview Questions for 2024

1) What is Haskell? Haskell is a functional programming language. It is based on mathematical functions. This programming language is more intelligent than other popular programming languages. 2) Who is the developer of...

2 minutes read.

Top 15 RESTful Web Services Interview Question for 2024

1) What is REST? REST is web standards based architecture and stands for REpresentational State Transfer. It uses HTTP Protocol for data communication. Here, everything is a resource. 2) What are the HTTP methods used...

2 minutes read.

Top 15 PhantomJS Interview Question for 2024

1) What is PhantomJS? PhantomJS is a lightweight headless scripted browser built on WebKit. It is used for automation web page interaction. 2) Why it is called as headless browser? PhantomJS called as...

4 minutes read.

Top 25 Android Interview Questions for 2024

1) What is Android? It is a software package and open-source operating system that is used in mobile devices. It is also a Linux kernel-based system operating system and application executes within...

3 minutes read.

Top 30 Go Programming Language Interview Questions for 2024

1) What is Go Programming language? Go programming language is an open source programming language. It is developed at Google in 2007. It is designed for system programming language. 2) Who designed...

4 minutes read.

Top 30 AngularJS Interview Questions and Answers for 2024

Most Frequently asked AngularJS Interview Questions and Answers for Fresher 1) Describe Angular JS ? It is a powerful framework of JavaScript. AngularJS is used to design Rich Internet Application. This framework...

5 minutes read.

Top 14 Material Design Lite Interview Questions for 2024

1) What is Material Design Lite? Material Design Lite is UI component Library. It is created with CSS, JavaScript and HTML. It is used for design purpose. It is developed by...

3 minutes read.

Top 30 D Programming Language Interview Questions for 2024

1) What is D programming language? D programming language is an object oriented programming language. It is created by Walter Bright of Digital Mars. It was released in 2001. 2) Who is the...

4 minutes read.

Django Interview Questions for 2024

Django is an open-source python web framework. It is very popular due to the functionalities it offers. It uses the Model-View-Template architecture. Many giant organizations are using Django as their...

10 minutes read.

Top 30 SQL Interview Questions for 2024

1. What is SQL? Ans. SQL stands for Structured Query Language.  It is a standard computer language for accessing, storing, and manipulating data stored in the relational database. SQL become an International Standard Organization (ISO)...

11 minutes read.

Polymer.js Interview Questions

1) What is Polymer.js? Polymer.js is an open source JavaScript library. It is developed by Google. It is used to develop web applications for using of web components like HTML. 2) Describe...

3 minutes read.

Ember.js Interview questions

1) What is Ember.js? Ember.js is a JavaScript front-end Framework. It provides developer both features for managing complexity in modern web-apps as well as integrated development kit. 2) Why choose Ember.js? Logical...

2 minutes read.

Top 48 C# Interview Questions for 2024

1) Write a program in C# to print "HELLO WORLD"? class Program         {          static void Main(string  args[])           {             System.Console.WriteLine(" HELLO WORLD ");             }          } 2) Write a program in C# to print "TutorialandExample" using namespace? Here, namespace is used to group related classes. Using System;    namespace  TutorialandExample      {         public class           {             public static void Main(string[]  args)             {              Console.WriteLine(" TutorialandExample ");             }          }       } 3) What are the...

8 minutes read.

Artificial Neural Network Interview Questions

1. Explain Neural Network?  Neural Network is a sequence of an algorithm that gives its best to recognize the underlying relationship in a data-set through a process. The artificial neural network...

8 minutes read.

VB.NET Interview Questions

1) What is VB.NET? VB.NET stands for Visual Basic .NET. It is an object oriented programming language. It is implemented on .NET framework and launched by Microsoft in 2001. 2) Who is...

3 minutes read.

Top 30 VB Script Interview Questions for 2024

1) What is VB Script? VBScript stands for Visual Basic Scripting Language. It is a light version of Microsoft Visual Basic. It is a client side scripting Language. 2) What is the...

5 minutes read.

Top 28 Firebase Interview Questions for 2024

1) What is Firebase? Firebase is a platform which is used for building Web, IOS and Android applications. It offers: Real time database Different APIs Multiple authentication types and Hosting platform 2) What are the features of...

3 minutes read.

Top 15 JSP Interview Questions for 2024

1) What is JSP? It is a technology which is used to create web application like Servlet technology. It provides more functionality than Servlet. It consists of HTML and JSP tags. 2) What are...

3 minutes read.

Top 25 jQuery Interview Questions for 2024

Most Frequently asked jQuery Interview Questions and Answers for Fresher and Experienced 1) Define Find and Children Method? In DOM tree if you have to find all the method we use Find...

4 minutes read.