2022-09-12 19:14:08 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
2022-09-21 11:54:22 +03:00
|
|
|
|
<title>Cg-Select</title>
|
2022-11-11 17:50:55 +03:00
|
|
|
|
<link href="./src/style/main.scss" rel="stylesheet" />
|
2022-09-12 19:14:08 +03:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<header class="header">
|
|
|
|
|
<h1>CG-SELECT</h1>
|
2022-11-11 17:50:55 +03:00
|
|
|
|
<img src="src/images/logoCG.jpg" alt="#" class="header__logo" />
|
2022-11-11 17:21:42 +03:00
|
|
|
|
</header>
|
|
|
|
|
</div>
|
2022-09-12 19:14:08 +03:00
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<div class="container content">
|
|
|
|
|
<div class="example-select">
|
|
|
|
|
<form method="get" class="form">
|
|
|
|
|
<div>
|
|
|
|
|
<h2 class="example-select_title">Дефолтный селект</h2>
|
|
|
|
|
<button class="cg-dropdown cg-dropdown_one"></button>
|
|
|
|
|
</div>
|
2022-10-13 13:42:46 +03:00
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<input type="submit" value="Отправить!" class="example-select_submit" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="example-select">
|
|
|
|
|
<h1 class="example-select_title">Селект с данными с URL</h1>
|
2022-10-28 15:45:09 +03:00
|
|
|
|
<button class="cg-dropdown cg-dropdown_three"></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<div class="example-select">
|
|
|
|
|
<h1 class="example-select_title">Категории</h1>
|
2022-10-28 15:45:09 +03:00
|
|
|
|
<button class="cg-dropdown cg-dropdown_categories"></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<div class="example-select">
|
|
|
|
|
<h1 class="example-select_title">Управление с помошью кнопок</h1>
|
|
|
|
|
<div style="margin-bottom: 15px">
|
|
|
|
|
<button class="button__open example-select_submit">Open</button>
|
|
|
|
|
<button class="button__close example-select_submit">Close</button>
|
|
|
|
|
</div>
|
2022-10-28 15:45:09 +03:00
|
|
|
|
<button class="cg-dropdown cg-dropdown_usedBtn"></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<div class="example-select">
|
|
|
|
|
<h1 class="example-select_title">Функция disabled</h1>
|
2022-10-28 15:45:09 +03:00
|
|
|
|
|
2022-11-11 17:21:42 +03:00
|
|
|
|
<input type="checkbox" name="chbx" id="checkboxDisable" style="margin-bottom: 16px" />
|
2022-10-28 15:45:09 +03:00
|
|
|
|
<label for="checkboxDisable">Вы согласны на обработку данных</label>
|
|
|
|
|
<button class="cg-dropdown cg-dropdown_checkboxDisable"></button>
|
|
|
|
|
</div>
|
2022-10-13 13:42:46 +03:00
|
|
|
|
</div>
|
2022-09-12 19:14:08 +03:00
|
|
|
|
</body>
|
2022-11-11 17:50:55 +03:00
|
|
|
|
<script type="module" src="/src/index.js"></script>
|
2022-09-12 19:14:08 +03:00
|
|
|
|
</html>
|