/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
extensions/amp-access-scroll/0.1/amp-access-scroll.css
45 строк
772 B
Kristofer Baxter
♻️ Remove Notice from JS and Markdown (#35717)
19 авг 2021, 21:21
Не верифицирован
19 авг 2021, 21:21
f564b7e
Код
Авторство
О чём код?
.amp-access-scroll-bar { position: fixed; background: transparent; z-index: 2147483647; bottom: 0; height: 60px; left: auto; right: 0px; width: 48px; margin: 0; padding: 0; } .amp-access-scroll-sheet { position: fixed; background: transparent; z-index: 2147483647; } /* mobile media query needed for !important. !important is necessary because mobile style should override inline style. */ @media (max-width: 599px) { .amp-access-scroll-sheet { /* mobile */ bottom: 60px; height: 100px; left: 0 !important; right: 0 !important; width: 100% !important; } } @media (min-width: 600px) { .amp-access-scroll-sheet { bottom: 76px; height: 56px; left: auto; right: 16px; width: 475px; } }