-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathborda.css
More file actions
46 lines (43 loc) · 1.06 KB
/
borda.css
File metadata and controls
46 lines (43 loc) · 1.06 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
/* css/style.css */
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.interactive-border {
padding: 20px;
font-size: 1.2rem;
color: #333;
background: #fff;
border: 4px solid transparent;
border-radius: 8px;
position: relative;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
animation: borderAnimation 3s linear infinite;
}
@keyframes borderAnimation {
0% {
border-color: #3f51b5; /* Azul */
box-shadow: 0 0 10px rgba(63, 81, 181, 0.5);
}
25% {
border-color: #673ab7; /* Roxo */
box-shadow: 0 0 10px rgba(103, 58, 183, 0.5);
}
50% {
border-color: #ff9800; /* Laranja */
box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}
75% {
border-color: #9c27b0; /* Roxo Escuro */
box-shadow: 0 0 10px rgba(156, 39, 176, 0.5);
}
100% {
border-color: #3f51b5; /* Azul */
box-shadow: 0 0 10px rgba(63, 81, 181, 0.5);
}
}