/
2-width-height.html
71 lines (62 loc) · 1.75 KB
/
2-width-height.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<title>Width, Height, & Border Radius | Tool Cool Range Slider</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="stylesheet" href="css/styles.css" />
<style>
tc-range-slider{
flex: none;
}
.row{
justify-content: center;
}
h2{
text-align: center;
}
</style>
</head>
<body>
<h1>Width, Height, & Border Radius</h1>
<div class="wrapper">
<div class="row">
<tc-range-slider
slider-width="200px" value="50"></tc-range-slider>
</div>
<div class="row">
<tc-range-slider
slider-width="250px"
slider-height="0.5rem"
value1="40"
value2="60"
pointer-width="20px"
pointer-height="20px"></tc-range-slider>
</div>
<div class="row">
<tc-range-slider
slider-width="300px"
slider-height="0.9rem"
slider-radius="0"
value1="30"
value2="50"
value3="70"
pointer-width="25px"
pointer-height="25px"
pointer-radius="3px"></tc-range-slider>
</div>
<div class="row">
<tc-range-slider
value1="20"
value2="40"
value3="60"
value4="80"
slider-width="350px"
slider-height="20px"
pointer-width="35px"
pointer-height="35px"></tc-range-slider>
</div>
</div>
<script src="../dist/toolcool-range-slider.min.js"></script>
</body>
</html>