Skip to content

Commit 422f897

Browse files
Update animation.css
1 parent 7b3b333 commit 422f897

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

assets/css/animation.css

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
--animation-speed-fast: 0.4s;
55
--animation-speed-ultrafast: 0.2s;
66

7-
--primary-color: #641ae6;
8-
--secondary-color: #d425a6;
9-
--accent-color: #1a9389;
10-
117
--easing-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
128
--easing-smooth: cubic-bezier(0.33, 1, 0.68, 1);
139
--easing-elastic: cubic-bezier(0.7, -0.4, 0.4, 1.4);
10+
11+
--primary: #641ae6;
1412
}
1513

1614
.anim-slow {
@@ -393,7 +391,7 @@
393391

394392
.anim-typing {
395393
overflow: hidden;
396-
border-right: 3px solid var(--primary-color);
394+
border-right: 3px solid var(--primary);
397395
white-space: nowrap;
398396
margin: 0 auto;
399397
letter-spacing: 1px;
@@ -415,7 +413,7 @@
415413
border-color: transparent;
416414
}
417415
50% {
418-
border-color: var(--primary-color);
416+
border-color: var(--primary);
419417
}
420418
}
421419

@@ -460,7 +458,7 @@
460458
height: 3px;
461459
bottom: -5px;
462460
left: 0;
463-
background-color: var(--primary-color);
461+
background-color: var(--primary);
464462
transition: width 0.5s ease;
465463
}
466464

@@ -529,12 +527,7 @@
529527
left: -50%;
530528
width: 200%;
531529
height: 200%;
532-
background: linear-gradient(
533-
to bottom right,
534-
rgba(255, 255, 255, 0.1) 0%,
535-
rgba(255, 255, 255, 0.05) 25%,
536-
transparent 50%
537-
);
530+
background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 25%, transparent 50%);
538531
transform: rotate(30deg);
539532
transition: transform 0.7s ease;
540533
}

0 commit comments

Comments
 (0)