-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle2.css
81 lines (81 loc) · 1.35 KB
/
style2.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
body {
margin:0;
padding:0;
font-family:sans-serif;
background:#fbfbfb;
}
.card {
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:300px;
min-height:400px;
background:#fff;
box-shadow:0 20px 50px rgba(0,0,0,.1);
border-radius:10px;
transition:0.5s;
}
.card:hover {
box-shadow:0 30px 70px rgba(0,0,0,.2);
}
.card .box {
position:absolute;
top:50%;
left:0;
transform:translateY(-50%);
text-align:center;
padding:20px;
box-sizing:border-box;
width:100%;
}
.card .box .img {
width:120px;
height:120px;
margin:0 auto;
border-radius:50%;
overflow:hidden;
}
.card .box .img img {
width:100%;
height:100%;
}
.card .box h2 {
font-size:20px;
color:#262626;
margin:20px auto;
}
.card .box h2 span {
font-size:14px;
background:#e91e63;
color:#fff;
display:inline-block;
padding:4px 10px;
border-radius:15px;
}
.card .box p {
color:#262626;
}
.card .box span {
display:inline-flex;
}
.card .box ul {
margin:0;
padding:0;
}
.card .box ul li {
list-style:none;
float:left;
}
.card .box ul li a {
display:block;
color:#aaa;
margin:0 10px;
font-size:20px;
transition:0.5s;
text-align:center;
}
.card .box ul li:hover a {
color:#e91e63;
transform:rotateY(360deg);
}