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 - Typography
Materiapze - Typography
Materiapze uses Roboto 2.0 as a standard font. It can be overridden using the following CSS style.
html { font-family: GillSans, Capbri, Trebuchet, sans-serif; }
Following are the examples of headings, blockquotes and free-flow but responsive text.
Example
<!DOCTYPE html> <html> <head> <title>The Materiapze Typography 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>Typography Demo</h2> <hr/> <h3>Headings</h3> <span class="card-panel"> <h1>Heading 1</h1> <h2>Heading 2</h2> <h3>Heading 3</h3> <h4>Heading 4</h4> <h6>Heading 6</h6> </span> <h3>Block Quotes</h3> <span class="card-panel"> <blockquote> 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. </blockquote> </span> <h3>Responsive free-flow text</h3> <span class="card-panel"> <p class="flow-text"> 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> </body> </html>
Output
Verify the output.
Advertisements