MacViews: Get c/b/ui/views/tabs to build on Mac
[chromium-blink-merge.git] / third_party / polymer / components-chromium / core-range / demo.html
blob338ca2aa64b23dbdb323e1ea1cc175471eb97398
1 <!doctype html>
2 <html>
3 <head>
4 <title>core-range</title>
6 <script src="../platform/platform.js"></script>
8 <link rel="import" href="core-range.html">
10 <style>
13 </style>
15 </head>
17 <body unresolved>
19 <polymer-element name="x-test" noscript attributes="value">
21 <template>
23 <style>
25 :host {
26 display: inline-block;
27 height: 25px;
28 width: 300px;
29 background-color: #ddd;
32 .progress {
33 background-color: red;
34 height: 100%;
35 padding: 5px 0;
36 box-sizing: border-box;
37 -moz-box-sizing: border-box;
40 </style>
42 <core-range min="0" max="200" value="{{value}}" ratio="{{ratio}}"></core-range>
44 <div class="progress" style="width: {{ratio}}%;">{{ratio}}%</div><br>
46 value (0 - 200): <input value="{{value}}">
48 </template>
50 </polymer-element>
52 <x-test value="100"></x-test>
54 </body>
55 </html>