/
alesu1543
/
practRust
Обзор
Документация
Войти
/
alesu1543
/
practRust
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
select.html
96 строк
2 KB
Alexey Subbotin
fix color
10 май 2023, 21:46
Не верифицирован
10 май 2023, 21:46
d8eaadb
Код
Авторство
О чём код?
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Как можно работать с таблицами в MySQL на Rust</title> </head> <style> body { font-family: sans-serif; text-align: center; } table { width: 93%; margin-left: auto; margin-right: auto; text-align: left; border-collapse: collapse; table-layout: fixed; } tr:nth-child(odd) { background: #dea584; } tr:nth-child(even) { background: #d4875b; } tr:first-child { background: #9c542a; font-weight: bold; } tr { opacity: 0.77; } tr:nth-child(n+2):hover { color: #fff; cursor: pointer; font-weight: bold; background: #c46a35; } td { padding: 5px; position: relative; border: 1px solid #333; height: 20px; } td:first-child { width: 35px; text-align: center; } h1, h1 a:visited { color: #9c542a; background: #fff; font-size: 30px; font-family: Roboto, Geneva, Arial, Helvetica, sans-serif; } h1 a:hover { color: #d4875b; } a { text-decoration: none; } label { font-size: 16px; text-decoration: underline; margin-left: 5px; } div { display: contents; font-size: 21px; font-weight: bold; } input[type="submit"] { cursor: pointer; } input[type="text"] { font-style: italic; } </style> <body> <h1><a href=".">Как можно работать с таблицами в MySQL на Rust</a></h1> <form action="." method="get"> <label>Значение</label><div> 1: </div><input type="text" name="col1" value="Первый ..." /> <label>Значение</label><div> 2: </div><input type="text" name="col2" value="Второй параметр" /> <label>Значение</label><div> 3: </div><input type="text" name="col3" value="Третий пара..." /> <input type="submit" value="Добавить" /> </form> <br /> <table> @tr </table> <p>Версия базы данных: <b> @ver </b> </p> </body> </html>