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">
    <button class="mdui-btn mdui-ripple mdui-ripple-black mdui-color-yellow">black</button>
    <button class="mdui-btn mdui-ripple mdui-ripple-white mdui-color-blue">white</button>
    <button class="mdui-btn mdui-ripple mdui-ripple-red">red</button>
    <button class="mdui-btn mdui-ripple mdui-ripple-blue">blue</button>
  </div>

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

  
JavaScript