Добавил оптимизацию загрузки картинок
This commit is contained in:
@@ -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 {
|
||||
|
||||
BIN
assets/images/about.webp
Normal file
BIN
assets/images/about.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/images/hero-1.webp
Normal file
BIN
assets/images/hero-1.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
BIN
assets/images/hero-2.webp
Normal file
BIN
assets/images/hero-2.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
assets/images/hero-3.webp
Normal file
BIN
assets/images/hero-3.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Reference in New Issue
Block a user