/
outthevoid
/
frontend_developer_module_2
Обзор
Документация
Войти
/
outthevoid
/
frontend_developer_module_2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
source/sass/modules/common.scss
81 строка
1 KB
darthmorgot
Добавил стили для класса toggle.
18 май 2024, 16:12
18 май 2024, 16:12
fcfa13a
Код
Авторство
О чём код?
// Common html { height: 100%; box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } body { position: relative; display: flex; flex-direction: column; min-height: 100%; margin: 0; padding: 0; font-family: "Open Sans", "Arial", sans-serif; font-weight: 400; font-style: normal; font-size: 16px; line-height: 24px; background: $white; color: $black; } img { max-width: 100%; height: auto; object-fit: contain; } a { color: inherit; text-decoration: none; } button { color: inherit; border: none; background-color: transparent; cursor: pointer; } .visually-hidden:not(:focus, :active), input[type="checkbox"].visually-hidden, input[type="radio"].visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; white-space: nowrap; clip-path: inset(100%); clip: rect(0 0 0 0); overflow: hidden; } .container { max-width: 280px; margin: 0 auto; @media (min-width: $tablet-width) { max-width: 620px; } @media (min-width: $desktop-width) { max-width: 970px; } } .main-container { flex-grow: 1; } .toggle { display: none; }