Madan08's picture
also use python, node.js and Javascript and css.
7273dd0 verified
Raw History Blame Contribute Delete
1.74 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Custom styles that extend Tailwind */
@layer components {
.btn-primary {
@apply bg-primary-500 hover:bg-primary-600 text-white font-medium py-2 px-4 rounded transition-colors duration-200;
}
.btn-secondary {
@apply bg-secondary-500 hover:bg-secondary-600 text-white font-medium py-2 px-4 rounded transition-colors duration-200;
}
.card {
@apply bg-white rounded-lg shadow-md overflow-hidden transition-shadow duration-300 hover:shadow-lg;
}
/* Animation for the hero section */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.animate-pulse {
animation: pulse 2s infinite;
}
.transform-3d {
transform-style: preserve-3d;
perspective: 1000px;
}
.hover-rotate {
transition: transform 0.5s ease;
}
.hover-rotate:hover {
transform: rotateY(15deg);
}
/* Responsive adjustments */
@media (max-width: 640px) {
.mobile-stack {
flex-direction: column;
}
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
@apply bg-gray-100;
}
::-webkit-scrollbar-thumb {
@apply bg-primary-500 rounded-full;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-primary-600;
}