https://github.com/threespot/custom-select
Wraps select menus in a div so we can apply custom styling
https://github.com/threespot/custom-select
Last synced: 7 months ago
JSON representation
Wraps select menus in a div so we can apply custom styling
- Host: GitHub
- URL: https://github.com/threespot/custom-select
- Owner: Threespot
- License: mit
- Created: 2018-01-08T18:13:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T20:18:12.000Z (almost 6 years ago)
- Last Synced: 2024-12-28T16:19:36.925Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# custom-select
Wraps select menus in a div so we can apply custom styling
Looks for all elements with class `js-custom-select` and wraps each one inside its own `
` so that it can be individually styled.
**For example:**
```html
DC
MD
VA
```
**Becomes:**
```html
DC
MD
VA
```
`custom-select` will **not** override other classes.
**For example:**
```html
DC
MD
VA
```
**Becomes:**
```html
DC
MD
VA
```