UNPKG

material-design-lite

Version:

Material Design Components in CSS, JS and HTML

142 lines (108 loc) 3.89 kB
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>button test</title> <!-- Fonts --> <link href='https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&amp;lang=en' rel='stylesheet' type='text/css'> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <!-- Page styles --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css"> <link rel="stylesheet" href="../../material.min.css"> <link rel="stylesheet" href="../../components/demos.css"> <script src="../../material.min.js"></script> <style> </style> </head> <body> <div style="padding-top: 24px;"> <!-- Colored FAB button with ripple --> <button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored"> <i class="material-icons">add</i> </button> <!-- Colored FAB button --> <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--colored"> <i class="material-icons">add</i> </button> <!-- Disabled FAB button --> <button class="mdl-button mdl-js-button mdl-button--fab" disabled> <i class="material-icons">add</i> </button> <!-- Colored mini FAB button --> <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab mdl-button--colored"> <i class="material-icons">add</i> </button> <!-- Mini FAB button --> <button class="mdl-button mdl-js-button mdl-button--fab mdl-button--mini-fab"> <i class="material-icons">add</i> </button> <!-- FAB button with ripple --> <button class="mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect"> <i class="material-icons">add</i> </button> <!-- FAB button --> <button class="mdl-button mdl-js-button mdl-button--fab"> <i class="material-icons">add</i> </button> <!-- Accent-colored flat button --> <button class="mdl-button mdl-js-button mdl-button--accent"> Button </button> <!-- Disabled flat button --> <button class="mdl-button mdl-js-button" disabled> Button </button> <!-- Primary-colored flat button --> <button class="mdl-button mdl-js-button mdl-button--primary"> Button </button> <!-- Flat button with ripple --> <button class="mdl-button mdl-js-button mdl-js-ripple-effect"> Button </button> <!-- Flat button --> <button class="mdl-button mdl-js-button"> Button </button> <!-- Colored icon button --> <button class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored"> <i class="material-icons">mood</i> </button> <!-- Icon button --> <button class="mdl-button mdl-js-button mdl-button--icon"> <i class="material-icons">mood</i> </button> <!-- Accent-colored raised button --> <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--accent"> Button </button> <!-- Colored raised button --> <button class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored"> Button </button> <!-- Raised disabled button--> <button class="mdl-button mdl-js-button mdl-button--raised" disabled> Button </button> <!-- Accent-colored raised button with ripple --> <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--accent"> Button </button> <!-- Raised button with ripple --> <button class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect"> Button </button> <!-- Raised button --> <button class="mdl-button mdl-js-button mdl-button--raised"> Button </button> </div> <!-- Built with love using Material Design Lite --> <script> </script> </body> </html>