-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
68 lines (59 loc) · 992 Bytes
/
index.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
body {
background-image: url('http://mlb.mlb.com/mlb/images/devices/ballpark/1920x1080/1.jpg');
}
ul {
list-style-type: none;
display: flex;
flex-direction: row;
width: 100%;
}
li {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-right: 10px;
padding-left: 10px;
margin-right: 10px;
margin-left: 10px;
}
div #carousel {
display: flex;
align-items: center;
justify-content: center;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
width: 100%;
flex-direction: column;
}
p {
color: white;
height: 55px;
width: 90px;
visibility: hidden;
}
li.selected {
width: 150%;
height: 150%;
}
p.selected {
visibility: visible;
}
div.selected {
transform: scale(1.5, 1.5);
}
div {
transform-origin: center;
transition: transform 0.5s ease-in-out;
}
div #detail {
visibility: hidden;
display: flex;
flex-direction: column;
height: 150px;
width: 350px;
background-color: pink;
}