Furtive Input File
A CSS module for styling file inputs: input[type="file"]
. Used in furtive.css.
Installation
It's recommended to use rework-npm:
npm install --save furtive-file-input
var rework = reworkNPM = ; var output = ;
Usage
Replacing the default 'Choose File' button with a camera icon:
Note: This will also hide the filename when a file is selected, as that is part of the file input. A dash of Javascript will be required to allow the filename to be visible.
Detailed documentation and examples can be found at furtive.co.
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).