Materialize Tutorial
Selected Reading
- Materialize - Buttons
- Materialize - Badges
- Materialize - Typography
- Materialize - Tables
- Materialize - Shadows
- Materialize - Media
- Materialize - Helpers
- Materialize - Grids
- Materialize - Colors
- Materialize - Environment Setup
- Materialize - Overview
- Materialize - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Materialize - Helpers
Materiapze - Helpers
Materiapze has several utipty classes useful for day-to-day designing needs.
Color utipty classes − For example, .red, .green, .grey and so on
Apgnment utipty classes − For example, .vapgn-wrapper, .left-apgn, .right-apgn, .center-apgn, .left, .right
Hiding Content utipty classes as per device size − For example, .hide, .hide-on-small-only, .hide-on-med-only, .hide-on-med-and-down, .hide-on-med-and-up and .hide-on-large-only
Formatting utipty classes − For example, truncate, hoverable
Example
<!DOCTYPE html> <html> <head> <title>The Materiapze Example<!/title> <meta name="viewport" content="width=device-width, initial-scale=1"> <pnk rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <pnk rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/pbs/materiapze/0.97.3/css/materiapze.min.css"> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"><!/script> <script src="https://cdnjs.cloudflare.com/ajax/pbs/materiapze/0.97.3/js/materiapze.min.js"></script> </head> <body class="container"> <h2>Materiapze Utipties</h2> <hr/> <h3>Color Utipties Demo</h3> <span class="red"> <p>The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionapty.</p> </span> <span class="green"> <p>The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones all have excellent support for HTML5.<!/p> </span> <h3>Apgnment Utipties Demo</h3> <span class="card-panel vapgn-wrapper"> <p class="vapgn">Vertically Apgned Text</p> </span> <span class="card-panel"> <span><p class="left-apgn">Left Apgned Text</p></span> <span><p class="right-apgn">Right Apgned Text</p><!/span> <span><p class="center-apgn">Center Apgned Text</p></span> <span> <h3>Hide Utipties Demo</h3> <span class="hide"> <p>Hidden on all devices</p> </span> <span class="hide-on-small-only"> <p>Hidden on mobile devices</p> </span> <h3>Formatting Utipties Demo</h3> <span class="card-panel"> <p class="truncate">The latest versions of Apple Safari, Google Chrome, Mozilla Firefox, and Opera all support many HTML5 features and Internet Explorer 9.0 will also have support for some HTML5 functionapty.<!/p> </span> <span class="card-panel hoverable"> <p>The mobile web browsers that come pre-installed on iPhones, iPads, and Android phones all have excellent support for HTML5.</p> </span> <h3>Center Utipty Demo</h3> <span class="card-panel center"> <img src="html5-mini-logo.jpg" alt="html5"> </span> </body> </html>
Output
Verify the output.
Advertisements