-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpuzzle.css
98 lines (90 loc) · 1.41 KB
/
puzzle.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html,
body {
width: 100%;
height: 100%;
background-color: #233245;
display: flex;
align-items: center;
justify-content: center;
font-family: "微軟正黑體";
}
#app {
width: 1050px;
overflow: hidden;
}
#app > div {
background-size: 100% 100%;
}
#app > div > ul > li {
cursor: pointer;
display: block;
width: 166px;
height: 166px;
border: 1px solid #fff;
float: left;
}
#app > div > ul > li > img {
display: block;
width: 100%;
height: 100%;
}
.wait {
width: 500px;
height: 500px;
background-color: #fff;
float: left;
}
.carried {
width: 500px;
height: 500px;
background-color: #fff;
float: right;
background-image: url("./images/bg2.jpg");
}
.winPage {
position: fixed;
top: -100%;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
transition: top 0.3s;
}
.winPage.open {
top: 0;
}
.winPage > h1 {
color: #fff;
font-size: 60px;
}
@media (max-width:996px){
#app{
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
padding: 10px;
}
.wait, .carried {
width: auto;
height: 50%;
background-color: #fff;
margin:10px 0 10px 0 ;
}
#app > div > ul{
width: 100%;
height: 100%;
}
#app > div > ul > li {
width: 33%;
height: 33%;
}
}