HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>排版 - 带不透明度字体排版</title>
  <link rel="stylesheet" href="https://cdn.w3cbus.com/library/mdui/1.0.2/css/mdui.min.css"/>
</head>
<body>

  <div class="mdui-container">
    <div class="mdui-typo-display-4-opacity">Display 4</div>
    <div class="mdui-typo-display-3-opacity">Display 3</div>
    <div class="mdui-typo-display-2-opacity">Display 2</div>
    <div class="mdui-typo-display-1-opacity">Display 1</div>
    <div class="mdui-typo-headline-opacity">Headline</div>
    <div class="mdui-typo-title-opacity">Title</div>
    <div class="mdui-typo-subheading-opacity">Subheading</div>
    <div class="mdui-typo-body-2-opacity">Body 2</div>
    <div class="mdui-typo-body-1-opacity">Body 1</div>
    <div class="mdui-typo-caption-opacity">Caption</div>
  </div>

  <script src="https://cdn.w3cbus.com/library/mdui/1.0.2/js/mdui.min.js"></script>
</body>
</html>
CSS

  
JavaScript