Добавил оптимизацию загрузки картинок

This commit is contained in:
adlevin
2026-02-06 06:31:28 +03:00
parent 21361390d2
commit 56e4c1239b
7 changed files with 47 additions and 7 deletions

View File

@@ -438,12 +438,25 @@ a:hover {
height: 100%;
z-index: 1;
flex-shrink: 0;
background-color: var(--primary-color);
overflow: hidden;
}
.hero-image img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.hero-nav {