forked from ONL-JS-FE2023-1/html-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
42 lines (37 loc) · 666 Bytes
/
Copy pathstyle.css
File metadata and controls
42 lines (37 loc) · 666 Bytes
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.card-container {
width: 35vw;
height: 95vh;
border: 1px solid black;
}
.header {
height: 50%;
width: 100%;
background-image: url('./images/maxresdefault.jpg');
background-size: cover;
}
.card {
font-size: 16px;
display: flex;
height: 50%;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.user-img {
width: 300px;
height: 300px;
border-radius: 50%;
object-fit: cover;
margin-top: -20%;
}
.links {
display: flex;
flex-direction: row;
width: 80%;
justify-content: space-around;
}