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">
    <img class="mdui-img-fluid" data-src="holder.js/100px250"/>
  </div>

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

  
JavaScript