mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
Заменила беблиотеку карусели и адаптировала
This commit is contained in:
1 parent
481db4fd28
commit
5b46f720c7
6 files changed
+74
-67
No files matched your search
@@ -104,13 +104,7 @@
|
||||
width: 61px;
|
||||
height: 61px;
|
||||
z-index: 10;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
bottom: 5vh; // Можно также использовать vh для мобильных устройств
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
@@ -118,7 +112,6 @@
|
||||
transition: opacity 0.3s ease, transform 0.3s ease;
|
||||
animation: scaleIn 0.5s forwards; /* Анимация появления */
|
||||
box-shadow: 5px 6px 15px rgba(0, 0, 0, 0.05);
|
||||
|
||||
&.visible {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
@@ -133,10 +126,6 @@
|
||||
|
||||
img {
|
||||
height: auto;
|
||||
@media (max-width: 768px) {
|
||||
width: 56%;
|
||||
height: 56%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,3 +152,9 @@
|
||||
transform: scale(0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.scroll-to-top {
|
||||
display: none; // Скрыть кнопку на мобильных устройствах
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user