remoomerrrr's picture
I want something like this
d46c927 verified
Raw History Blame Contribute Delete
1.81 kB
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
40% { transform: translateY(-20px); }
60% { transform: translateY(-10px); }
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-bounce {
animation: bounce 2s infinite;
}
/* Skill Cards */
.skill-card {
@apply bg-white border border-gray-200 rounded-xl p-6 text-center transition-all duration-300 hover:shadow-lg hover:shadow-blue-500/10 hover:-translate-y-2;
}
.skill-icon {
@apply w-16 h-16 rounded-full flex items-center justify-center border mb-4 mx-auto transition-all duration-300;
}
.skill-card:hover .skill-icon {
@apply transform scale-110;
}
/* Project Cards */
.project-card {
@apply rounded-xl overflow-hidden transition-all duration-500 hover:shadow-lg hover:shadow-blue-500/20;
}
.project-image {
@apply relative h-48 overflow-hidden;
}
.project-overlay {
@apply absolute inset-0 bg-white/80 opacity-0 flex items-center justify-center transition-all duration-300 group-hover:opacity-100;
}
.project-content {
@apply p-6 bg-white;
}
.project-content h3 {
@apply text-xl font-bold mb-2;
}
.project-content p {
@apply text-gray-300 mb-4;
}
.project-tags {
@apply flex flex-wrap gap-2;
}
.project-tags span {
@apply text-xs px-3 py-1 bg-gray-900 rounded-full;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1a202c;
}
::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Section transitions */
section {
scroll-margin-top: 80px;
}