-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview place.css
49 lines (43 loc) · 914 Bytes
/
view place.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
/* General body styling */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 20px;
}
h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}
/* Container for the place cards */
.place-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
}
/* Individual place card styling */
.place-card {
width: 220px;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
text-align: center;
font-size: 1em;
color: #333;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.place-card h3 {
font-size: 1.2em;
color: #4CAF50;
margin-bottom: 10px;
}
.place-card p {
margin: 5px 0;
}
/* Hover effect for place cards */
.place-card:hover {
transform: translateY(-10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}