greenleaf-estates / style.css
afmprod108's picture
сделай многостраничный сайт для агенства по продаже квартир, используй js, стиль минималистичный с преобладанием салатового и белого цветов
43601eb verified
Raw History Blame Contribute Delete
1.13 kB
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #98ff98;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #75c075;
}
/* Animation for cards */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.property-card {
animation: fadeIn 0.6s ease-out forwards;
opacity: 0;
}
.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }
/* Form input focus style */
.input-focus:focus {
box-shadow: 0 0 0 3px rgba(152, 255, 152, 0.25);
}