-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
104 lines (97 loc) · 2.23 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
body{
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: url(1.png);
overflow: hidden;
}
.card{
display: grid;
grid-template-columns: 300px;
grid-template-rows: 210px 210px 80px;
grid-template-areas: "image" "text" "stats";
font-family: sans-serif;
border-radius: 18px;
background: white;
box-shadow: 5px 5px 15px rgba(0,0,0,0.9);
text-align: center;
transition: 0.5s ease;
cursor: pointer;
}
.card-image{
grid-area: image;
background: url("adaraneeya%20kathawak.jpg");
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-size: cover;
}
.card-image1{
grid-area: image;
background: url("boys%20over%20flowers.jpg");
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-size: cover;
}.card-image2{
grid-area: image;
background: url("siri%20parakum.jpg");
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-size: cover;
}
.card-text{
grid-area: text;
margin: 25px;
}
.cart-text .date{
color: rgb(255,7,110);
font-size: 13px;
}
.card-text p{
color: grey;
font-size: 15px;
font-weight: 300;
align-content: center;
}
.card-text h2{
margin-top: 0px;
font-size: 28px;
}
.card-stats{
grid-area: stats;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr;
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
background: rgb(255,7,110);
}
.card-stats .stat{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 10px;
color: white;
}
.card-stats .type{
font-size: 11px;
font-weight: 300;
text-transform: uppercase;
}
.card-stats .value{
font-size: 22px;
font-weight: 500;
}
.card-stats .border{
border-left: 1px solid rgb(172,26,87);
border-right: 1px solid rgb(172,26,87);
}
.card-stats .value sup{
font-size: 12px;
}
.card:hover{
transform: scale(1.2);
box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
}