-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (86 loc) · 1.67 KB
/
style.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
*{
font-family: papyrus;
}
.container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.heading {
font-size: 40px;
color: #333;
animation: headingAnimation 1.5s ease-in-out infinite;
}
.heading img{
height: 80px;
width: 80px;
border-radius: 100%;
animation: headingAnimation 2.5s ease-in-out infinite;
}
@keyframes headingAnimation {
0% {
transform: translateY(-10px);
}
50% {
transform: translateY(10px);
}
100% {
transform: translateY(-10px);
}
}
.card {
width: 550px;
background-color: #f1f1f1;
margin: 10px;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: transform 0.5s;
}
.card img {
width: 100%;
height: 300px;
object-fit: cover;
transition: transform 0.5s;
}
.card:hover {
transform: scale(1.03);
}
.card:hover img {
transform: scale(1.2);
}
.card:hover a {
transform: scale(0.9);
}
.card-content {
padding: 20px;
}
.card h3 {
margin: 0;
font-size: 20px;
color: #333;
}
.card p {
margin-top: 10px;
color: #777;
}
.btn {
display: inline-block;
margin-top: 15px;
padding: 10px 20px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
transition: transform 0.5s;
}
.btn:hover {
background-color: #555;
}
@media (max-width: 568px) {
.card {
width: 100%;
}
}