У меня есть следующая страница: ссылка, на которой есть синяя кнопка, закрепленная в нижнем центре в мобильном/планшете.
[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 ⇐ Html
Программисты Html
1756293370
Anonymous
У меня есть следующая страница: ссылка, на которой есть синяя кнопка, закрепленная в нижнем центре в мобильном/планшете.
[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.
Подробнее здесь: [url]https://stackoverflow.com/questions/79747842/set-map-button-at-the-top-of-the-filter-button-and-remove-fixed-position-in-css[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия