-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (81 loc) · 1.5 KB
/
style.css
File metadata and controls
95 lines (81 loc) · 1.5 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
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
:root{
--primary-color :#37d5d6;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
height: 100vh;
background-color: #36096d;
background-image: linear-gradient(315deg, #36096d 0%, #37d5d6 74%);
display: flex;
justify-content: center;
align-items: center;
}
.card{
width: 300px;
height: 400px;
background: black;
border-radius: 10px;
text-align: center;
overflow: hidden;
}
.card__img{
width: 120px;
height: 120px;
border: 4px solid var(--primary-color);
border-radius: 50%;
margin: 0px auto;
overflow: hidden;
transform: translateY(25px);
transition: 0.5s;
}
img{
object-fit: cover;
object-position: center;
width: 100%;
}
.card__tile{
margin-top: 35px;
color: white;
text-align: center;
}
.card__tile p{
color: var(--primary-color);
}
.card__social{
text-align: center;
margin-top: 15px;
}
.card__social a{
padding: 0 5px;
color: white;
}
.card__social a:hover{
color: var(--primary-color);
}
.card button{
width: 100px;
height: 40px;
border:1px solid var(--primary-color);
background: transparent;
align-items: center;
margin-top: 20px;
border-radius: 10px;
transition: 0.5s;
color: white;
cursor: pointer;
}
.card button:hover{
background: var(--primary-color);
}
.card__img:hover{
width: 100%;
height: 100%;
border-radius: unset;
transform: unset;
border:none;
}