/
Da11oS
/
git_learn
Обзор
Документация
Войти
/
Da11oS
/
git_learn
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
native_js2
native_js/main.css
51 строка
973 B
d-chernov
feat: styles
10 июл 2025, 16:15
10 июл 2025, 16:15
66d4b58
Код
Авторство
О чём код?
:root { --bg-color: rgb(207, 207, 207); --card-bg: white; --button-submit__bg: rgba(31, 165, 31, 0.795); } body { background-color: var(--bg-color); display: flex; flex-direction: row; justify-content: center; align-items: center; height: 100vh; } .container { background-color: var(--card-bg); border-radius: 10px; padding: 10px; box-shadow: 0px 2px 3px gray; } .container > form { display: flex; flex-direction: column; gap: 0.75rem; padding: 10px; } h1 { text-align: center; } form div input, form div select, form div textarea{ width: 100%; border-color: none; } button[type="submit"] { background-color: var(--button-submit__bg); border: none; border-radius: 5px; color: white; margin-left: auto; margin-right: auto; width: 10rem; height: 2rem; } button[type="submit"]:hover { background-color: rgba(30, 195, 30, 0.795); cursor: pointer; }