diff options
| author | Haishan <[email protected]> | 2018-10-20 20:32:02 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2018-10-20 20:32:02 +0800 |
| commit | 133b29c9dac2209a3c88c3289f84ff709d404392 (patch) | |
| tree | e023785cc82db732c64328a5d99938992eceecfd /src/components/Input.module.scss | |
first commit
Diffstat (limited to 'src/components/Input.module.scss')
| -rw-r--r-- | src/components/Input.module.scss | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/components/Input.module.scss b/src/components/Input.module.scss new file mode 100644 index 0000000..147f99b --- /dev/null +++ b/src/components/Input.module.scss @@ -0,0 +1,23 @@ +.input { + -webkit-appearance: none; + background-color: #2d2d30; + background-image: none; + border-radius: 4px; + border: 1px solid #3f3f3f; + box-sizing: border-box; + color: #c1c1c1; + display: inline-block; + font-size: inherit; + height: 40px; + line-height: 40px; + outline: none; + padding: 0 15px; + transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); + width: 100%; +} + +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} |
