-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.css
More file actions
89 lines (75 loc) · 1.41 KB
/
demo.css
File metadata and controls
89 lines (75 loc) · 1.41 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.header {
background-image: url('3.jpg');
background-size: cover;
background-position: center;
color: white;
text-align: center;
padding: 60px 20px;
}
.header h1 {
font-size: 3em;
margin: 0;
}
.header p {
font-size: 1.5em;
margin: 10px 0 0;
}
.highlights, .main-content, .testimonials {
padding: 40px 20px;
text-align: center;
}
.highlights h2, .main-content h2, .testimonials h2 {
font-size: 2.5em;
margin-bottom: 40px;
}
.attraction {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 40px;
background: white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.attraction img {
width: 300px;
height: 200px;
object-fit: cover;
}
.attraction-info {
padding: 20px;
text-align: left;
}
.attraction-info h3 {
margin-top: 0;
}
.testimonial-carousel {
display: flex;
overflow: hidden;
position: relative;
}
.testimonial-item {
min-width: 100%;
transition: transform 0.5s ease;
}
.testimonial-item:not(:first-child) {
display: none;
}
.footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px 0;
}
.footer .social-links a {
color: white;
margin: 0 10px;
text-decoration: none;
}