forked from PupilTong/PainDetector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathButtonsForJS.html
More file actions
57 lines (47 loc) · 1.1 KB
/
Copy pathButtonsForJS.html
File metadata and controls
57 lines (47 loc) · 1.1 KB
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
div.scrollmenu {
background-color: green;
overflow: auto;
white-space: nowrap;
width:300px;
}
#menu{
height:20px;
background-image: linear-gradient(to right, rgba(0,255,0,0), yellow, rgba(255,0,0,1)); /* Standard syntax (must be last), green, yellow, red */
}
.ids {
display:inline-block;
width:10%;
height:20px;
}
.ids:hover{
background-color: white;
color:black;
}
div.scrollmenu {
display: flex;
justify-content:flex-start;
color: white;
text-decoration: none;
}
</style>
</head>
<body>
<div class="scrollmenu" id = "menu">
<div id="1" class = "ids">1</div>
<div id="2" class = "ids">2</div>
<div id="3" class = "ids">3</div>
<div id="4" class = "ids">4</div>
<div id="5" class = "ids">5</div>
<div id="6" class = "ids">6</div>
<div id="7" class = "ids">7</div>
<div id="8" class = "ids">8</div>
<div id="9" class = "ids">9</div>
<div id="10" class = "ids">10</div>
</div>
</body>
</html>