metro4
Version:
The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style
57 lines (49 loc) • 2.92 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="../metro/css/metro-all.css?ver=@@b-version" rel="stylesheet">
<title>Test Switch - Metro 4 :: Popular HTML, CSS and JS library</title>
</head>
<body class="m4-cloak">
<div class="container">
<h1>Switch test page</h1>
<div>
<input type="checkbox" data-role="switch" data-caption="Switch">
<input type="checkbox" data-role="switch" data-caption="Switch" checked>
<input type="checkbox" data-role="switch" data-caption="Switch" disabled>
<input type="checkbox" data-role="switch" data-caption="Switch" disabled checked>
</div>
<div>
<input type="checkbox" data-role="switch" data-caption="Switch" data-material="true">
<input type="checkbox" data-role="switch" data-caption="Switch" checked data-material="true">
<input type="checkbox" data-role="switch" data-caption="Switch" disabled data-material="true">
<input type="checkbox" data-role="switch" data-caption="Switch" disabled checked data-material="true">
</div>
<div>
<input type="checkbox" data-role="switch" data-on="on" data-off="off" data-show-on-off="true">
<input type="checkbox" data-role="switch" checked data-show-on-off="true" data-locale="uk-UA">
<input type="checkbox" data-role="switch" data-on="вкл" data-off="выкл">
<input type="checkbox" data-role="switch" data-on="вкл" data-off="выкл" checked>
<input type="checkbox" data-role="switch" data-off="выкл">
<input type="checkbox" data-role="switch" data-on="вкл" checked>
<input type="checkbox" data-role="switch" data-on="on" data-off="off" disabled>
<input type="checkbox" data-role="switch" data-on="on" data-off="off" disabled checked>
</div>
<div>
<input type="checkbox" data-role="switch" data-on="on" data-off="off" data-material="true">
<input type="checkbox" data-role="switch" data-on="on" data-off="off" checked data-material="true">
<input type="checkbox" data-role="switch" data-on="вкл" data-off="выкл" data-material="true">
<input type="checkbox" data-role="switch" data-on="вкл" data-off="выкл" checked data-material="true">
<input type="checkbox" data-role="switch" data-off="выкл" data-material="true">
<input type="checkbox" data-role="switch" data-on="вкл" checked data-material="true">
<input type="checkbox" data-role="switch" data-on="on" data-off="off" disabled data-material="true">
<input type="checkbox" data-role="switch" data-on="on" data-off="off" disabled checked data-material="true">
</div>
</div>
<script src="../metro/js/metro.js?ver=@@b-version"></script>
<script>
</script>
</body>
</html>