У меня есть следующая страница: ссылка, на которой есть синяя кнопка, закрепленная в нижнем центре в мобильном/планшете.
[url=javascript:void(0);]
Harta [/url]
< /code>
@media screen and (max-width: 991px) {
{
.search-result-page.layout6 .st-results .map-view-mobile
{
display: flex;
}
}
.search-result-page.layout6 .st-results .map-view-mobile
{
align-items: center;
justify-content: center;
position: fixed;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
display: none;
z-index: 9;
}
.search-result-page.layout6 .st-results .map-view-mobile a
{
background: #3B71FE;
border-radius: 50px;
font-weight: 500;
font-size: 16px;
line-height: 20px;
color: #fff;
padding: 10px 19px;
display: flex;
align-items: center;
}
< /code>
I would like to set it above the Filter button and show only on top, removing fixed position.
I tried to set it to relative position, but then it appear on bottom of the page.
Подробнее здесь: https://stackoverflow.com/questions/797 ... ion-in-css
Установите кнопку карты в верхней части кнопки фильтра и удалите фиксированное положение в CSS ⇐ CSS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Получение странного шестнадцатеричного кода в верхней части страницы карты сайта.
Anonymous » » в форуме Php - 0 Ответы
- 15 Просмотры
-
Последнее сообщение Anonymous
-