HTML
CSS
JavaScript
play_arrow
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>列表 - 多行文本</title>
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mdui@1.0.1/dist/css/mdui.min.css"/>
</head>
<body>

<ul class="mdui-list" style="max-width: 360px;">
  <li class="mdui-list-item">
    <div class="mdui-list-item-content">
      <div class="mdui-list-item-title mdui-list-item-one-line">Multiline item</div>
      <div class="mdui-list-item-text mdui-list-item-two-line">You've got to get enough sleep. Other travelling
        salesmen live a life of luxury. You've got to get enough sleep. Other travelling salesmen live a life of
        luxury.
      </div>
    </div>
  </li>
  <li class="mdui-list-item">
    <div class="mdui-list-item-content">
      <div class="mdui-list-item-title mdui-list-item-one-line">Multiline item</div>
      <div class="mdui-list-item-text mdui-list-item-two-line">You've got to get enough sleep. Other travelling
        salesmen live a life of luxury. You've got to get enough sleep. Other travelling salesmen live a life of
        luxury.
      </div>
    </div>
  </li>
</ul>

<script src="//cdn.jsdelivr.net/npm/mdui@1.0.1/dist/js/mdui.min.js"></script>
</body>
</html>
CSS

  
JavaScript