-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
112 lines (86 loc) · 2.24 KB
/
css.css
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body{
background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
font-family: 'Crimson Pro', serif;
font-size: 48px;
padding: 0px;
margin: 0px;
display: flex;
justify-content: center;
font-size: 2rem;
color: #E6E6FA;
}
.slidecontainer {
width: 100%; /* Width of the outside container */
}
/* The slider itself */
.slider {
-webkit-appearance: none; /* Override default CSS styles */
appearance: none;
width: 100%; /* Full-width */
height: 25px; /* Specified height */
background: #878f96 /* red background */
outline: none; /* Remove outline */
opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
-webkit-transition: .2s; /* 0.2 seconds transition on hover */
transition: opacity .2s;
}
/* Mouse-over effects */
.slider:hover {
opacity: 1; /* Fully shown on mouse-over */
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
width: 25px; /* Set a specific slider handle width */
height: 25px; /* Slider handle height */
background: #662d91; /* Green background */
cursor: pointer; /* Cursor on hover */
}
.slider::-moz-range-thumb {
width: 25px; /* Set a specific slider handle width */
height: 25px; /* Slider handle height */
background: #662d91; /* dark blue background */
cursor: pointer; /* Cursor on hover */
}
h1{
color: #0062b7;
font-family: 'Courier New', monospace;
}
.container {
height: 90px;
width: 500px;
position: relative;
border: none;
}
.input[type=submit], input[type=submit], input[type=submit] :hover {
background-color: white;
color: #662d91;
font-size: 30px;
cursor: pointer;
transition-duration: 0.4s;
}
.center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.top{
margin: 0;
position: absolute;
top: 0%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.bottom{
margin: 0;
position: absolute;
top: 100%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}