-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (50 loc) · 907 Bytes
/
style.css
File metadata and controls
57 lines (50 loc) · 907 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: sans-serif;
}
html,body{
width: 100%;
height: 100%;
}
body{
display: flex;
align-items: center;
justify-content: center;
background-color: cornflowerblue;
}
#card{
height: 400px;
width: 300px;
border-radius: 10px;
background-color: #fff;
padding: 10px;
text-align: center;
}
#card img{
width: 100%;
height: 55%;
object-fit: cover;
object-position: center;
border-radius: 10px;
}
#card h1{
font-size: 30px;
margin: 10px 0;
}
#card h5{
font-size: 25px;
color: red;
margin-bottom: 20px;
}
#card button{
background-color: cadetblue;
color: #fff;
font-weight: 700;
padding: 12px 20px;
border-radius: 5px;
border: none;
margin: 5px;
cursor: pointer;
}