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="../assets/mdui-v0.4.3/css/mdui.min.css"/>
</head>
<body>

<div class="mdui-container">
  <div class="mdui-row">
    <div class="mdui-col-sm-6 mdui-col-md-4">
      <div class="mdui-card">
        <div class="mdui-card-media">
          <img src="../../.././docs/assets/docs/img/card.jpg"/>
          <div class="mdui-card-media-covered mdui-card-media-covered-top">
            <div class="mdui-card-primary">
              <div class="mdui-card-primary-title">Title</div>
              <div class="mdui-card-primary-subtitle">Subtitle</div>
            </div>
          </div>
        </div>
        <div class="mdui-card-actions">
          <button class="mdui-btn mdui-ripple">action 1</button>
          <button class="mdui-btn mdui-ripple">action 2</button>
        </div>
      </div>
    </div>
  </div>
</div>

<script src="../assets/mdui-v0.4.3/js/mdui.min.js"></script>
</body>
</html>
CSS

    
JavaScript