-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
42 lines (36 loc) · 885 Bytes
/
styles.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
body {
margin: 20px;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.avatar {
width: 150px;
}
.card {
width: 400px;
margin: 0 auto;
padding: 20px;
display: flex;
justify-content: space-around;
text-align: center;
background: #2D3047;
color: #1B998B;
border-bottom: 6px dotted #FFFD82;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
transition: transform 0.2s ease-in-out; /* Smooth hover transition */
}
.card:hover {
transform: scale(1.05); /* Lift on hover */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Deeper shadow on hover */
}
.card h3, .card p, .card h4 {
opacity: 0; /* Initially hidden */
animation: fadeIn 1s forwards; /* Fade-in animation */
}
@keyframes fadeIn {
to {
opacity: 1; /* Fades to visible */
}
}
.border-blue {
border: 1px dotted #E84855;
}