|
|
@@ -5,12 +5,16 @@
|
|
|
<meta charset="UTF-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
+ <!-- Include Choices CSS -->
|
|
|
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/choices.js/public/assets/styles/choices.min.css">
|
|
|
+ <!-- Include Choices JavaScript -->
|
|
|
+ <script src="https://cdn.jsdelivr.net/npm/choices.js/public/assets/scripts/choices.min.js"></script>
|
|
|
<link rel="stylesheet" href="normalize.css">
|
|
|
<link rel="stylesheet" href="style.css">
|
|
|
<title>Document</title>
|
|
|
</head>
|
|
|
|
|
|
-<body class="body-- nodebug">
|
|
|
+<body class="body-- odebug">
|
|
|
<h1>Full-page form (flexbox fields)</h1>
|
|
|
<form class="form form--full-page" action="#" method="post">
|
|
|
<h1 class="form__title">Form title</h1>
|
|
|
@@ -169,4 +173,8 @@
|
|
|
</form>
|
|
|
</body>
|
|
|
|
|
|
+<script>
|
|
|
+ const choices = new Choices('select', { classNames: { containerOuter: 'choices field__input' } })
|
|
|
+</script>
|
|
|
+
|
|
|
</html>
|