Mobile-friendly Select Box Replacement – Justselect

Category: Form , Javascript | August 24, 2017
Author: Justmighty
Views Total: 2,963
Official Page: Go to website
Last Update: August 24, 2017
License: MIT

Preview:

Mobile-friendly Select Box Replacement – Justselect

Description:

Justselect.js is a JavaScript library to create mobile-friendly select boxes that are fully customizable via CSS.

How to use it:

Add the Justselect’s JavaScript and Stylesheet to the webpage.

<link rel="stylesheet" href="selectbox.min.css">
<script src="selectbox.min.js"></script>

Add the CSS class ‘justselect’ to the regular select element and the Justselect library will do the rest.

<label for="color">Color:</label>
<select name="color" id="color" class="justselect">
  <option value="red">Dark Red</option>
  <option value="green">Light Green</option>
  <option value="blue">Blue</option>
</select>

You Might Be Interested In:


Leave a Reply