-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles-page.css
More file actions
77 lines (69 loc) · 1.66 KB
/
styles-page.css
File metadata and controls
77 lines (69 loc) · 1.66 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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-image: url('bg.jpg');
background-color: black;
/* background-size: cover; */
display: flex;
/* justify-content: center; */
background-repeat: no-repeat;
background-size: auto 100%;
background-position: right;
align-items: center;
height: 100vh;
width: 100%;
}
.container {
text-align: center;
width: 100vh;
}
.animated-text {
padding-left: 5%;
font-size: 36px;
color: #576068;
margin-bottom: 30px;
animation: animateText 2s ease-in-out infinite alternate;
}
@keyframes animateText {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
.highlight {
color: #fbfdfe;
}
.button {
display: inline-block;
padding: 15px 30px;
background-color: #333;
color: #fff;
text-decoration: none;
border-radius: 15px;
font-size: 18px;
transition: background-color 0.3s;
border: 2px solid transparent; /* Add border */
position: relative; /* Add position for pseudo-element */
}
.button::before {
content: '';
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border-radius: 17px; /* Match button border-radius */
border: 2px solid #333; /* Match border color with button background */
z-index: -1; /* Push behind button text */
transition: transform 0.3s ease-out; /* Add transition for animation */
transform: scale(0); /* Start with scale 0 for animation */
}
.button:hover::before {
transform: scale(1); /* Scale up on hover for animation */
}
.button:hover {
background-color: #555;
}