blob: 8f296e71fb5f00e02b98d6a231de5582261e09a9 [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001<!doctype html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <title>slider test</title>
9
10 <!-- Fonts -->
11 <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'>
12 <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
13 rel="stylesheet">
14
15 <!-- Page styles -->
16 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.css">
17 <link rel="stylesheet" href="../../material.min.css">
18 <link rel="stylesheet" href="../../components/demos.css">
19 <script src="../../material.min.js"></script>
20
21
22 <style>
23
24 </style>
25
26 </head>
27 <body>
28
29 <div style="padding-top: 24px;">
30
31
32 <div class="demo-preview-block">
33 <p>
34 <input class="mdl-slider mdl-js-slider" type="range"
35 min="0" max="100" value="0" tabindex="0">
36 </p>
37 <p>
38 <input class="mdl-slider mdl-js-slider" type="range"
39 min="0" max="100" value="10" tabindex="0">
40 </p>
41 </div>
42
43<style>
44 .demo-slider__slider-default .mdl-slider {
45 width: 30vw;
46 max-width: 260px;
47 }
48</style>
49{% include "slider-default.html" %}
50
51<!-- Default Slider -->
52<input class="mdl-slider mdl-js-slider" type="range"
53 min="0" max="100" value="0" tabindex="0">
54
55<style>
56 .demo-slider__slider-starting-value .mdl-slider {
57 width: 30vw;
58 max-width: 260px;
59 }
60</style>
61
62{% include "slider-starting-value.html" %}
63
64<!-- Slider with Starting Value -->
65<input class="mdl-slider mdl-js-slider" type="range"
66 min="0" max="100" value="25" tabindex="0">
67
68
69 </div>
70 <!-- Built with love using Material Design Lite -->
71
72
73 <script>
74
75 </script>
76 </body>
77</html>