serve.css
847 字节
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
.main{
width:80rem;
min-height: 900px;
margin: auto;
display: flex;
flex-wrap: wrap;
}
.myButton{
width: 8rem;
height: 2.5rem;
display: block;
margin: 2rem;
background-color: #237de8;
color: #fff;
outline: none;
font-size: 1rem;
border: none;
}
.demo:nth-child(3n){
margin-right: 0 !important;
}
.demo{
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
width: 19rem;
height:19rem;
margin-left: 2rem;
margin-bottom: 3rem;
font-size: 1rem;
box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.1);
padding-bottom: 1rem;
margin-top: 25px;
}
.demo img{
width: 11rem;
height: 11rem;
}
.demo button{
width: 7rem;
height: 2rem;
background-color: #237de8;
color: #fff;
outline: none;
border: none;
}