1.1.6 • Published 5 years ago
@guillaumeferber/html-selector v1.1.6
html-selector
Install
You can get it on npm.
Usage
Standalone
JavaScript
Add the script tag before the closing <body>
tag
CSS/SCSS
1) Add the link CSS tag in <head>
2) or you can import the Sass file to your Sass project
HTML Usage
Just add the js-select
class name to the select element you want to customize.
<select class="js-select">
<option>Select</option>
<option value="value_1">option #1</option>
<option value="value_2">option #2</option>
<option value="value_3">option #3</option>
</select>
License
MIT License © Guillaume Ferber