-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (70 loc) · 1.27 KB
/
Copy pathstyle.css
File metadata and controls
72 lines (70 loc) · 1.27 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
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: Arial, sans-serif;
background-color: floralwhite;
}
.card{
background: #fff;
padding: 10px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
text-align: center;
width: 90%;
max-width: 300px;
}
.card-img {
width: 100%;
height: auto;
border-radius: 10px;
object-fit: cover;
}
.card-title {
font-size: 1.2rem;
margin: 10px 0;
}
.card-price {
color: green;
font-weight: bold;
}
.card-desc {
font-size: 0.9rem;
color: #555;
}
.card-btn{
background-color: white;
color: black;
padding: 10px;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 500;
font-family: 'Courier New', Courier, monospace;
margin-top: 10px;
cursor: pointer;
}
.card-btn:hover{
background: whitesmoke;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0,0,0,0.2);
transition: 0.3s ease;
}
@media (max-width: 600px) {
.card {
width: 90%;
padding: 15px;
}
.card-title {
font-size: 1.1rem;
}
.card-desc {
font-size: 0.9rem;
}
.card-btn {
padding: 8px 16px;
font-size: 0.9rem;
}
}