Skip to content

Commit

Permalink
nicer arrows for input number
Browse files Browse the repository at this point in the history
  • Loading branch information
cTn-dev committed Jan 15, 2014
1 parent d8aca56 commit 957e85c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ a {
a:hover {
text-decoration: none;
}
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;

display: block;
width: 15px;

background-image: url('../images/arrows.png');
background-repeat: no-repeat;

border-left: 1px solid silver;
}
input[type=number]::-webkit-inner-spin-button:before {
content: "";
}
input[type=number]::-webkit-inner-spin-button:after {
content: "";
}
.clear-both {
clear: both;
}
Expand Down
Binary file added images/arrows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 957e85c

Please sign in to comment.