dymic's picture
Loved it but i want more advanced and bugs free website at looking so redesign it
d7b43d8 verified
Raw History Blame Contribute Delete
2.32 kB
/* Enhanced Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #020617;
}
::-webkit-scrollbar-thumb {
background: #3b82f6;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #2563eb;
}
/* Typewriter Effect */
.typewriter-cursor {
display: inline-block;
width: 2px;
height: 1em;
background-color: #3b82f6;
margin-left: 2px;
animation: blink 1s infinite;
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
/* Modern Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeOutDown {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(20px);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out forwards;
}
.animate-fadeOutDown {
animation: fadeOutDown 0.5s ease-in forwards;
}
/* Smooth transitions for all interactive elements */
a, button, input, .transition-all {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Enhanced focus states for accessibility */
button:focus-visible, a:focus-visible, input:focus-visible {
outline: 2px solid #3b82f6;
outline-offset: 2px;
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}
/* Loading spinner */
@keyframes spin {
to { transform: rotate(360deg); }
}
.animate-spin {
animation: spin 1s linear infinite;
}
/* Project Card Hover Effect */
.project-card {
transition: all 0.3s ease;
transform: translateY(0);
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}
/* Glassmorphism Effect */
.glass {
background: rgba(2, 6, 23, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Pulse Animation */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse-animation {
animation: pulse 2s infinite;
}
/* Fade-in Animation */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}